在iphone中创建应用,需要在ipad中创建相同的应用,有如下文件:
LoginViewController.h
LoginViewController.m
LoginViewController.xib
now i added new file for ipad:
LoginViewController~ipad.xib
结果报错:
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "LoginViewController" nib but the view outlet was not set.'