I am trying to force only one view in my application on landscape mode, I am calling
override func shouldAutorotate() -> Bool { print(\"shouldAutoro
class CustomUIViewController : UIViewController{ override var supportedInterfaceOrientations : UIInterfaceOrientationMask{ return .landscapeLeft } } class ViewController: CustomUIViewController { . . . }