iOS Notes 5 : How to Lock Orientation
Published in
1 min readApr 1, 2017
Hey,
Some applications support both landscape and portrait mode but if you need to lock your application to the landscape or portrait mode, then you’re in the right place :)
Open your AppDelegate
If you need to lock left or right landscape, just change .landscapeLeft or .landscapeRight
That’s it :)
If you have any question, ask me :)