I want to disable the landscape orientation for my new iOS quiz app. in android it is very simple and i know how to do it but i am not able to find suitable file in iOS from where I can stop the app orientation. Thanks in advance for the help.
Asked
Active
Viewed 55 times
2 Answers
1
It is more simple in iOS as well select your project name in Xcode and navigate to general and in deployment, info unchecks the landscape left and right that's it.

Vishal Sharma
- 1,051
- 2
- 8
- 15
-
thanks Vishal sharma – Mary J Burr Sep 02 '18 at 20:57
-
Does this still allow for programmatically unlocking at runtime? – SacWebDeveloper Sep 24 '20 at 15:40
0
- Click on the name of your project
- Choose your target from the Targets list
- Go to the General tab
- In the Deployment Info section, select the orientations that you want to keep

ielyamani
- 17,807
- 10
- 55
- 90
-
-
@MaryJBurr Glad I could help! [This](https://stackoverflow.com/help/someone-answers) could be useful. – ielyamani Sep 02 '18 at 21:01
-
-