/ / UIWindow Layout-Problem auf ios7.1 mit xcode 6.0 - xcode6, ios7.1, uiwindow

UIWindow-Layout-Problem auf ios7.1 mit xcode 6.0 - xcode6, ios7.1, uiwindow

Ich habe ein Projekt auf xcode 6.0 erstellt und ich habe das Projekt auf dem ios8 Simulator ausgeführt, aber als ich es auf dem iphone5s ios7.1 Simulator getestet habe, wurde der UIWindow Frame auf 320x480 ...

self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
self.window.backgroundColor = [UIColor whiteColor];
self.window.rootViewController = self.navigationController;
[self.window makeKeyAndVisible];

oben ist wie ich UIwindow erstellen

Bildbeschreibung hier eingeben

Was soll ich tun?

Antworten:

6 für die Antwort № 1

Sie müssen korrekte Größe iPhone / iPad Standardbilder hinzufügen, wird Ihr Problem gelöst werden. , siehe diesen Link für weitere Details Starten Sie die Bildschirmgröße für das iPhone