i set Device Orientation is Portrait , but when the XLActionController show , it can auto rotate ,
i use PeriscopeActionController style , but PeriscopeActionController is not open class , i can't override it,
i must add these code to class ActionController:
override open var supportedInterfaceOrientations: UIInterfaceOrientationMask{
get{
return .portrait
}
}
i set
Device Orientation
isPortrait
, but when the XLActionController show , it can auto rotate , i usePeriscopeActionController
style , butPeriscopeActionController
is not open class , i can't override it, i must add these code to classActionController
: