Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIViewController 0x18afe0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key welcomeLabel.'
以编程方式创建它时的解决方案可能是这样的:
-(void)loadView {// Ensure that we don't load an .xib file for this viewcontrollerself.view = [UIView new];}
#include "vicLogin_iPad.h" // This is the H file of the class holding the code for// processing all the IBOUtlets for the Login screen...
_vicMain = [[vicLogin_iPad alloc] initWithNibName:@"vicMainScreen" bundle:nil];