0

我的应用程序在这条线上崩溃程序接收信号:SIGABRTon

[navigationController initWithRootViewController:homeview];

是否有任何针对 iOS 5 的建议???提前致谢。

4

1 回答 1

0

你的代码看起来有点奇怪,我会假设(我知道这是母亲)navigationController 是你的 ivar voor UINavigationController

你应该像这样加载它:

navigationController = [[UINavigationController alloc] initWithRootViewController:homeview];
于 2011-10-24T06:58:35.877 回答