我已經遷移一些應用程序到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