I am not using storyboard for my iOS app.I have manually created UIViewController and calling from AppDelegate.The following is the code structure that I am using in AppDelegate.Can you please suggest me why app shows black space above navigation bar except in iPhone 4S simulator.Below I have attached screenshot of my issue.
LoginView *loginView ; UINavigationController *myNav ;
loginView = [[LoginView alloc] initWithNibName:@"LoginView" bundle:nil];
myNav= [[UINavigationController alloc] nitWithRootViewController:loginView];
self.window.rootViewController = myNav; [self.window makeKeyAndVisible];
0
votes