Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Lock iPhone App Orientation throughout

I gather the orientation approach changed in the recent version of iOS and I'm not using UIWebView...

Is there a way of locking an entire App to Portrait Mode or do I have to force each View Controller?

like image 965
Edward Hasted Avatar asked Nov 21 '13 14:11

Edward Hasted


People also ask

How do I lock my app orientation?

On the main screen of Rotation Manager, select an orientation by tapping on either the vertical or horizontal icons next to a specific app to lock it into either landscape or portrait mode. Highlighting both icons will allow that particular app to auto-rotate.

How do I lock my IOS app in portrait mode?

Access the Contol Center by swiping downward from the upper-right corner of the Home or Lock screen. For the iPhone with Touch ID, access the Control Center by touching the bottom of any screen then dragging upward. to lock or unlock screen portrait orientation.

Can you force apps to rotate on iPhone?

Check Rotation Lock On an iPhone with a Home button, swipe up from the bottom of the screen to access it. On an iPhone without a Home button, swipe down from the top-right corner of the screen instead. Here, tap on the rotation lock icon (which looks like a lock with a circular arrow) to turn it on or off.

How do you stop IOS from changing orientation?

Swipe down from the top-right corner of your screen to open Control Center. Tap the Portrait Orientation Lock button to make sure that it's off. Turn your iPhone sideways.


1 Answers

Following is the way to lock the orientation of your app to portrait only.

How to lock orientation of your app to portrait only

like image 51
PunjabiCoder Avatar answered Nov 05 '22 11:11

PunjabiCoder