简体   繁体   中英

Navigation controller SIGABRT iOS5

My application is Crashing on this line Program receiving signal: SIGABRT on

[navigationController initWithRootViewController:homeview];

Is there any suggestions specific to iOS 5??? Thanks in advance.

You code looks a bit weird, I'l make the an assumption (I know it this the mother) thet navigationController is your ivar voor UINavigationController .

The you should load it like this:

navigationController = [[UINavigationController alloc] initWithRootViewController:homeview];

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM