You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we call Orientation.lockToLandscape() in iOS 12 the app crashes and throws the following error: "Supported orientations has no common orientation with the application, and [UIViewController shouldAutorotate] is returning YES".
When debugging, the exception happens after executing this line:
When we call Orientation.lockToLandscape() in iOS 12 the app crashes and throws the following error: "Supported orientations has no common orientation with the application, and [UIViewController shouldAutorotate] is returning YES".
When debugging, the exception happens after executing this line:
[[UIDevice currentDevice] setValue:[NSNumber numberWithInteger: UIInterfaceOrientationLandscapeRight] forKey:@"orientation"];
This does not happen in newer versions of iOS.
Has anyone faced this problem? Thanks in advance.
The text was updated successfully, but these errors were encountered: