changes in xib causing crash
Changes in xib causing it to crash.
I am using xcode 4 (ie. version 4.0.2) to 开发者_JAVA技巧write a program that I started in earlier versions.
I have written a lot of code and apart from frequent crashes during debug, all was fine.
Then I make some changes in one xib file, and ever since it fails to run; terminating in the main function on line int retVal = UIApplicationMain(argc, argv, nil, nil);
with error Thread 1: Program received signal: 'SIGABRT'
I dont know what is causing this, I need help.
What about programmatically loading the nib? Just change nil to your nib's name.
CustomViewController* customViewController = [[CustomViewController alloc] initWithNibName:nil bundle:nil]
精彩评论