I have recently released an app on the app store and when developing it, on iOS 5, autorotate was working fine and as I wanted it to. When it was released on the app store I then downloaded it to make sure the version was working correctly, but this time with iOS 6, and the autorotate is all messed up.
After some searching, I found that they deprecated the shouldAutorotateToInterfaceOrientation
function. So I tried using the new supportedInterfaceOrientations
or shouldAutorotate
with no luck whatsoever. Does anyone know how to fix this so that my rotates works properly. I want specific screens to only be in portrait and some to be able to do both landscape and portait, and this worked fine with shouldAutorotateToInterfaceOrientation
, I need a new method that will work in iOS 6.
Thanks for any help in advance!