Xcode Device Orientation Setting is not working for iPad
Have you ever tried to set the device setting in Xcode but it never works?
It does not work because if your target involves at lease 2 devices, in my case above it is iPhone and iPad, Xcode would separate the settings for you. They just, however, do not tell you in the Xcode UI.
The solution is follow:
If you want to change the device orientation setting for, let say, an iPad
- Untick iPhone and/or Mac
- You should see the setting for iPad specificly
3. Apply the setting for iPad
4. Tick iPhone and/or Mac back to revert back to the status before (1)
Then the device orientation setting should be working again after Cmd+R ;)
Happy coding!
#iOS #Xcode #iPad #iPadOS #device #deviceorientation #orientation #deployment #setting #deploymentinfo #debug #m1 #Mac #swift #objc #development #iPhone #app