ios 9 Probleme mit der Objektiv-C-Bildschirmgröße

Ich aktualisiere auf ios 9 und xcode 7 (von xcode 6.2) und dies geschieht jetzt, wenn ich meine App starte:

Es gibt jetzt all diese schwarzen Balken oben und unten.

Meine AppDelegate ist wie folgt:

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];

    // Override point for customization after application launch.
    // self.window.backgroundColor = [UIColor whiteColor];
    // [self.window makeKeyAndVisible];



    _startViewController = [[StartViewController alloc] init];
    _startNavigationController = [[StartNavigationController alloc] initWithRootViewController:_startViewController];
    self.window.rootViewController = _startNavigationController;
    [self.window makeKeyAndVisible];

    // Need to fix this since deprecated
    // [application prefersStatusBarHidden:NO];
    // [application preferredS :UIStatusBarStyleDefault];

    // [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];

    return YES;
}    

Antworten auf die Frage(8)

Ihre Antwort auf die Frage