I have an iPhone Storyboard and iPad Storyboard in my xCode project. In my iPhone version, I only want portrait mode to work (which is already there).
Now, I have added a storyboard for iPad, but iPad is working only with Portrait mode. However, I want the iPad to work in Portrait and Landscape and the iPhone to remain as portrait only
Please advise.
Make sure that Rotation Lock is off: Swipe down from the top-right corner of your screen to open Control Center. Then tap the Rotation Lock button to make sure it's off.
Answer: A: For compatible Apps that are intended for iPhone, iPadOS15 will now automatically rotate the App to display in Landscape screen orientation. There is no manual configuration or setting to enable this feature.
Go to Targets -> General, scroll down and you can select the Orientation as portrait only.
Select your project -> Target -> Deployement info -> iPhone. and checkmark as follow:
for iPhone:
And for iPad:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With