Could not load NIB in bundle: 'NSBundle'

后端 未结 12 1504
礼貌的吻别
礼貌的吻别 2020-12-03 07:27

What is the error listed below?

2011-02-23 21:24:12.218 Success[7238:207] * Terminating app due to uncaught exception \'NSInternalInconsisten

12条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-03 08:07

    I have got the same problem, but it was because i wrote the extension .xib and it is not neccessary

    token_view = [[GetToken alloc] initWithNibName:@"GetToken_iPad.xib" bundle:nil];
    

    instead of

    token_view = [[GetToken alloc] initWithNibName:@"GetToken_iPad" bundle:nil];
    

提交回复
热议问题