我升级到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