K knut macrumors newbie Original poster Mar 13, 2011 #1 Hi All can you help me please with next problem. I have two .xib files . test1.xib and test2.xib which are using same viewcontrollers files. so at this moment my application is load test1.xlib file . how can I load test2.xib instead of test1.xib ? Thanks
Hi All can you help me please with next problem. I have two .xib files . test1.xib and test2.xib which are using same viewcontrollers files. so at this moment my application is load test1.xlib file . how can I load test2.xib instead of test1.xib ? Thanks
3 38leinaD macrumors newbie Mar 13, 2011 #2 You can use UIViewController's Code: (id)initWithNibName:(NSString *)nibName bundle:(NSBundle *)nibBundle Initializer. Initialize the view-controller with the nibName you want it to load. cheers, daniel
You can use UIViewController's Code: (id)initWithNibName:(NSString *)nibName bundle:(NSBundle *)nibBundle Initializer. Initialize the view-controller with the nibName you want it to load. cheers, daniel