Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to disable auto rotate #137

Open
boboxiaodd opened this issue Nov 16, 2019 · 0 comments
Open

How to disable auto rotate #137

boboxiaodd opened this issue Nov 16, 2019 · 0 comments

Comments

@boboxiaodd
Copy link

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
        }
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant