2010-12-11 2 views
1

Depuis que j'ai mis à jour mon iPad vers iOS 4.2, une de mes applications universelles affiche un écran vide sur iPad (sur iPhone, c'est OK).L'application iPhone/iPad affiche un écran vide sur Ipad après la mise à niveau vers iOS 4.2

Le code création de la fenêtre pour l'IPAD est:

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 est dérivé de UISplitViewController.

Aucune erreur fatale lors de la compilation. Aucune erreur lors de l'exécution.

Une idée de comment résoudre ce problème?

Répondre

Questions connexes