Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Force iPhone Orientation

I'm making an iPad app and I need to force the orientation to portrait to several parts of the app. I used the undocumented "setOrientation" API and the app was rejected. Is there a documented way to do this?

like image 711
user288225 Avatar asked Feb 02 '26 04:02

user288225


1 Answers

I'm pretty sure Apple only accepting iPad apps that work in any orientation. I've heard they are quite strict about it and are really pushing the whole "there is no right way to hold it" idea. So unless you have a very good reason (such as for some games) you will probably have to find a way to make your UI work in landscape too.

like image 190
BenBtg Avatar answered Feb 04 '26 00:02

BenBtg



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!