每次运行项目并尝试导航到另一个屏幕时,我都会收到此错误。
Unable to find interface controller class 'HelpInterfaceController' to instantiate
我正在正确使用我所知道的:
- (IBAction)HelpButton {
[self presentControllerWithName:@"help" context:nil]; }
还有名字help
与标识符中的一样。
那么我哪里出错了?
I've found the error! It was because of my .m file, it's target membership was MemGame
instead of MenGame WatchKit Extension
. So I uncheck the first option and selected the third option and now it's running perfectly.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)