开发者

Separate interface orientations per view

开发者 https://www.devze.com 2023-03-20 02:49 出处:网络
I am working on an iPhone app with a UINavigationController interface and there I want all views to ONLY allow default portrait rotation except for one. I know I can return \'NO\' in the shouldAutoRot

I am working on an iPhone app with a UINavigationController interface and there I want all views to ONLY allow default portrait rotation except for one. I know I can return 'NO' in the shouldAutoRotate method but basically when I am in the view that does allow rotation and go back t开发者_开发问答o the previous view, the other views are then stuck in landscape as well. Any ideas?


you need to change status bar orientation when you go back to previous view.

0

精彩评论

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