2009-11-29 5 views
1

J'ai un WebViewController qui hérite de UIViewController et utilise également shouldAutorotateToInterfaceOrientation.Comment initier UIViewController avec UIInterfaceOrientationLandscapeLeft?

Eh bien si bien jusqu'à présent, mais quand je passe à la WebViewController, alors commence en mode portrait. Seulement quand je tourne l'iPhone, il commence à tourner.

Maintenant, une idée de comment démarrer dans UIInterfaceOrientationLandscapeLeft?

Thx

Répondre

0

S'il vous plaît jeter un oeil à this tutorial - il devrait résoudre votre problème.

Fondamentalement, vous devez ajouter une clé UIInterfaceOrientation avec la valeur UIInterfaceOrientationLandscapeLeft dans votre fichier Info.plist.

+0

Le lien ne fonctionne pas – Rodrigo

+0

Eh bien cela fait presque 2 ans ... mis à jour. –

Questions connexes