Incorrect rotation of a view controller in iOS 6

Posted by XenElement on Stack Overflow See other posts from Stack Overflow or by XenElement
Published on 2012-09-23T02:20:26Z Indexed on 2012/09/23 3:37 UTC
Read the original article Hit count: 114

Filed under:
|
|
|
|

In my app I've been using the now deprecated shouldAutoRotateToFace method. Now when using the iOS 6 simulator, all of my subviews are rotated to portrait orientation while the device is in landscape. Does anyone have any idea what could cause this? I've already tried replacing should autorotate in my main view controller with the supportedOrientations method (or whatever it is that you're now supposed to use instead).

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c