ios - Set iPad launch only in LandscapeRight. -


this question not same current exist question.

i've set device universal, , checked landscaperight.

when launch app in iphone, can work in landscaperight expected.

but ipad can rotate, don't know why. tried

- (bool) shouldautorotate {     return yes; } - (nsuinteger)supportedinterfaceorientations {     return uiinterfaceorientationmasklandscaperight; } - (uiinterfaceorientation)preferredinterfaceorientationforpresentation {     return uiinterfaceorientationlandscaperight; } 

you can try method. hope can out

open info.plish in project, find `supported interface orientations.

enter image description here

the first 1 supported interface orientations iphone, second 1 supported interface orientations ipad, should leave 1 row (landscape) picture shows.


Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -