SyntaxFix
Write A Post
Hire A Developer
Questions
You need to call attemptRotationToDeviceOrientation (UIViewController) to make the system call your supportedInterfaceOrientations when the condition has changed.
attemptRotationToDeviceOrientation (UIViewController)
supportedInterfaceOrientations