Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经为 Xcode 7.5 beta 打开了我的应用程序,我在 Apple Watch 代码中收到以下错误 -请帮助我。谢谢。
您需要将您的线路更改为
NSString *eventId = [(ArtistRow*)theRow accessibilityValue];
否则,即使您已检查您的行控制器是否属于类ArtistRow编译器,仍会将其视为id(这是 from 的返回类型rowControllerAtIndex:)
ArtistRow
id
rowControllerAtIndex: