我已经迁移一些应用程序到iPhone5的,但是这一个我无法去解决它。我按照同样的步骤,但现在我还没有得到厦门国际银行的布局设置自动调整大小的窗口,因为TabBarViewController被编程定义为rootController。总是我得到恼人的黑色前沿和顶级酒吧。无法应用迁移到iPhone5的视网膜4
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
tabBarController = [[UITabBarController alloc] init];
NSArray *viewControllers = [NSArray alloc];
viewControllers = [NSArray arrayWithObjects: nil];
// Attach them to the tab bar controller
[self.tabBarController setViewControllers:viewControllers animated:NO];
// Put the tabBarController's view on the window.
[window addSubview:[self.tabBarController view]];
self.window.rootViewController = self.tabBarController;
[self.window makeKeyWindow];
self.splashController = [[splashViewController alloc] initWithNibName:@"splashViewController" bundle:nil aidioma:self.idioma];
[self.window addSubview:[splashController view]];
[self.window makeKeyAndVisible];
你添加相应的4英寸启动图像,它告诉应用程序在“全屏”运行? – SAE 2013-04-21 22:06:37
你在捆绑根目录下有一个'Default-568h @ 2x.png'文件? – 2013-04-21 22:06:42
感谢您的意见。这是正确的,我不知道如果没有视网膜飞溅图像被添加时,没有大小将被应用。谢谢! – Jaume 2013-04-21 22:36:43