I have disabled all orientation modes except the portrait one in my info.plist file because I don't want the app to rotate. However I want one view controller to be only in landscape mode. Can I change the orientation programmatically in the class of the view controller? Or can i disable autorotation in info.plist but enable portrait and landscape mode?
Also I know that I can check the orientation the phone is hold by UIDevice.currentDevice().orientation.isLandscape
But is there a method that gets executed when you hold your phone differently?