Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I test orientation lock in iOS8 simulator?

If I recall correctly I could set the orientation lock in the iOS Simulator before XCode 6. Now it appears this option is no longer available. Is it somewhere else?

Note: I'm testing web apps that adjust to orientation. They need to do different things if the user has the orientation locked vs unlocked and so I need to test. I could have sworn I was able to test this on iOS7.1 simulator in XCode 5 but it seems that option is missing in XCode 6.

Is there a way to test this in the simulator?

like image 963
gman Avatar asked Oct 21 '22 00:10

gman


1 Answers

If you slide up control center, you can click on the rotation lock button to lock rotation.

like image 148
Jeremy Huddleston Sequoia Avatar answered Nov 14 '22 03:11

Jeremy Huddleston Sequoia