I have a project using UINavigationController
and segues
working properly good, all of them rotate correctly, the thing is... I just want to disabl
I see someone asked about this in Swift. It's not immediately obvious, since the Objective-C methods are not methods at all in Swift, but rather computed vars:
override var shouldAutorotate: Bool { return false }
override var supportedInterfaceOrientations: UIInterfaceOrientationMask { return .portrait }