0
我有下面的代码加载一个UINavigationController:从笔尖
UINavigationController localNavigationController = [[[NSBundle mainBundle] loadNibNamed:@"CustomView" owner:self options:nil] objectAtIndex:0];
而这里的CustomView.xib
我在接线错了?我收到以下错误:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIWindow setParentViewController:]: unrecognized selector sent to instance 0x5b74fe0'
从对象类别中删除窗口 – Robin