Closed HuaZao closed 7 years ago
` extension EZPlayerFullScreenViewController{
open override var shouldAutorotate : Bool { return true }
open override var supportedInterfaceOrientations : UIInterfaceOrientationMask { return .all }
open override var preferredInterfaceOrientationForPresentation: UIInterfaceOrientation{ return .landscapeRight } } `
解决问题
请问怎么解决的?
*** Terminating app due to uncaught exception 'UIApplicationInvalidInterfaceOrientation', reason: 'Supported orientations has no common orientation with the application, and [EZPlayer.EZPlayerFullScreenViewController shouldAutorotate] is returning YES'
这个方法return了ture之后依然崩溃