title: How to disable orientation on ViewController presented with UIApplication.keyWindow()
body: <p>I have a ViewController that can be presented anywhere in the app. I'm presenting it with this code <code>UIApplication.sharedApplication().keyWindow?.rootViewController?.presentedViewController?.presentViewController</code>. So I want to disable orientations, only Portrait to be supported. I've tried with so many solutions, implementing <code>shouldAutorotate/supportedInterfaceOrientations/preferredInterfaceOrientationForPresentation</code> but nothing helped. Anyone faced this problem?</p>