You need to delete the storyboard. Here are the steps
1) Main.storyboard .
2) xib , , .
3) plist.
4) appdelegate didFinishLaunchingWithOptions :
self.window = [[UIWindow alloc] initWithFrame: [[UIScreen mainScreen])];
[self.window makeKeyAndVisible];
:
(BOOL) : (UIApplication *) didFinishLaunchingWithOptions: (NSDictionary *) launchOptions
{
self.window = [[UIWindow alloc] initWithFrame: [[UIScreen mainScreen])];
// .
TestViewController * test = [[TestViewController alloc] initWithNibName: @ "TestViewController" bundle: nil];
UINavigationController * nav = [[UINavigationController alloc] initWithRootViewController: test];
self.window.rootViewController = nav;
[self.window makeKeyAndVisible];
return YES;
}
, nib,
TestViewController * test = [[TestViewController alloc] init];
, :)