use*_*726 13 key storyboard uiviewcontroller ios5
我在iOS 5中使用Storyboard进行间歇性崩溃.当我尝试使用Storyboard中的视图控制器实例化一个新对象时,我经常会得到一个SIGABRT.这似乎是一个非常普遍的错误,但我找不到其他人看到这个.谢谢你的帮助!
SectionLandscapeViewController *sectionViewController = [[UIStoryboard storyboardWithName:@"MainStoryboard" bundle:nil] instantiateViewControllerWithIdentifier:@"SectionLandscapeViewController"];
Run Code Online (Sandbox Code Playgroud)
崩溃......
Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIProxyObject 0xa0fba20> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key sceneViewController.'
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
3001 次 |
| 最近记录: |