2009-08-25 7 views
2

J'ai configuré mon iPhone en mode paysage, mais lorsque j'essaie d'afficher l'UIAlertView, il est en mode portrait. Comment il s'affichera en mode paysage?UIAlertView en mode paysage

Répondre

2

Ajoutez le code suivant dans applicationDidFinishLaunching dans le fichier applicationdelegate.m

[[UIApplication sharedApplication] setStatusBarOrientation: UIInterfaceOrientationLandscapeLeft animated: NO ]; 
Questions connexes