I am trying to force only one view in my application on landscape mode, I am calling
override func shouldAutorotate() -> Bool { print(\"shouldAutoro
According to the documentation of supportedInterfaceOrientations the shouldAutorotate method should return true or YES in Objective-C so that the supportedInterfaceOrientations are considered.
shouldAutorotate
true
YES
supportedInterfaceOrientations