2010-12-11 16 views
1

iPadをiOS 4.2にアップグレードしたため、私の普遍的なアプリケーションの1つがiPad上で空白の画面を表示します。iOS 4.2にアップグレードした後、iPhone/iPadアプリケーションでIpadに空白の画面が表示される

iPad用のウィンドウを作成するコードは次のとおり

firstVC = [[[PickerViewController alloc]    initWithNibName:@"PickerViewIpad" bundle:nil] autorelease]; 
ResultViewController* secondVC = [[[ResultViewController alloc] 
      initWithNibName:@"ResultViewIpad" bundle:nil] autorelease]; 

PermanentSplitViewController* splitVC = [[PermanentSplitViewController alloc] init]; 
    splitVC.viewControllers = [NSArray arrayWithObjects:firstVC, secondVC, nil]; 

[window addSubview:splitVC.view]; 
[window makeKeyAndVisible]; 

PermanentSplitViewControllerはUISplitViewController由来します。

コンパイル時に致命的なエラーはありません。 実行時にエラーが発生しません。

どのようにこの問題を解決するためのアイデアですか?

答えて

関連する問題