To specify your app's supported orientations:
- In the Project Navigator, select the very first node (your project). This displays the Project Editor
- Make sure the General tab is selected.
- Under the Deployment Info section under Device Orientation, check the orientations your app supports.
All the best!
Kevin McNeish
Author of "Learn to Code in Swift":
https://itunes.apple.com/us/book/learn-to-code-in-swift/id942956811?mt=11