Hi,
I have a universal app. I want to support portrait and landscape on iPad, but only portrait on iPhone. What is the best way to do this?
The "Device orientation" checkboxes in the project settings appear to apply to both versions.
Thanks.
Hi,
I have a universal app. I want to support portrait and landscape on iPad, but only portrait on iPhone. What is the best way to do this?
The "Device orientation" checkboxes in the project settings appear to apply to both versions.
Thanks.
One way to bifurcate orientations based on device is to use idioms*... and for launch orientations, set them in the info.plist:
<key>UIInterfaceOrientation</key>
<string>UIInterfaceOrientationPortrait</string>
<key>UIInterfaceOrientation~ipad</key>
<string>UIInterfaceOrientationLandscapeRight</string>
◅▻