我升級到iOS 9和Xcode的7(在Xcode 6.2),現在發生這種情況時,我開始我的應用程序:IOS 9 Objective-C的屏幕尺寸問題
現在有這一切的黑網吧上面和下面。
我的appDelegate是像這樣:
- (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;
}
看起來你錯過了正確的啓動屏幕大小。您應該使用圖片資源並填寫所有需要的大小。 – rckoenes
您是否將所有啓動畫面與正確的尺寸進行了整合?如果不是,那麼請做。 – pkc456
這是怎麼完成的? – cdub