July 17, 2021
A quick tip here for new-to-XCode iOS developers.
If you want your iOS app to only display in portrait (or landscape) modes to users when they are using your app, there’s a little trick to get it to apply to both iPhones and iPads.
It would appear obvious at first that this should work:
Select both device types and select portrait as the only option, but no, this does not work for iPads.
What you actually need to do is:
You’ll most likely see after step 1 is completed that the orientation options defaults back to both portrait and one of the landscape options.