nous savons que ces étapes simples pour verrouiller/déverrouiller l'orientation de votre iPhone 3G:comment verrouiller/déverrouiller le verrouillage d'orientation de l'iphone par programme?
From any screen, double-tap the home button
Scroll as far left as you can on the multitasking dock
The first symbol to the left will be a circular arrow
Select this to either lock or unlock the orientation of your iPhone 3G
Mais comment nous pouvons le faire programatically? Voulez-vous savoir si vous pouvez le faire pour votre application ou verrouiller l'orientation de l'appareil lui-même?