0
votes
  1. 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.enter image description here

    LoginView *loginView ; UINavigationController *myNav ;

    loginView = [[LoginView alloc] initWithNibName:@"LoginView" bundle:nil];

    myNav= [[UINavigationController alloc] nitWithRootViewController:loginView];

    self.window.rootViewController = myNav; [self.window makeKeyAndVisible];

1

1 Answers

4
votes

Add launch images for iPhone 5 & above. Or you can include the LaunchScreen xib/storyboard.