开发者

Subview Orientation Different from Parent Orientation

开发者 https://www.devze.com 2023-04-11 04:00 出处:网络
My Parent View is in Portrait Mode, but i want my next View to be in Landscape Mode. But i\'m unable to achieve this. For making the Next View in Landscape Mode i have to give support to my Parent Vie

My Parent View is in Portrait Mode, but i want my next View to be in Landscape Mode. But i'm unable to achieve this. For making the Next View in Landscape Mode i have to give support to my Parent View as Landscape too which i don't want. 开发者_开发百科Any Suggestions???? Thanks in Advance


In your next view, call

[UIApplication setStatusBarOrientation:UIInterfaceOrientationLandscapeLeft animated:YES]

to set it in landscape orientation.

0

精彩评论

暂无评论...
验证码 换一张
取 消