Skip to content

How to disable auto rotate #137

@boboxiaodd

Description

@boboxiaodd

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
        }
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions