How to force a UIViewController to Portrait orientation in iOS 6

后端 未结 16 1348
别那么骄傲
别那么骄傲 2020-11-22 06:03

As the ShouldAutorotateToInterfaceOrientation is deprecated in iOS 6 and I used that to force a particular view to portrait only, what is the c

16条回答
  •  忘了有多久
    2020-11-22 06:38

    I see the many answer but not get the particular idea and answer about the orientation but see the link good understand the orientation and remove the forcefully rotation for ios6.

    http://www.disalvotech.com/blog/app-development/iphone/ios-6-rotation-solution/

    I think it is help full.

提交回复
热议问题