开发者

changes in xib causing crash

开发者 https://www.devze.com 2023-03-25 00:30 出处:网络
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.

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]
0

精彩评论

暂无评论...
验证码 换一张
取 消