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.
the first 1 supported interface orientations iphone, second 1 supported interface orientations ipad, should leave 1 row (landscape) picture shows.
Comments
Post a Comment