Skip to content

override var supportedInterfaceOrientations: UIInterfaceOrientationMask #328

@babynonkeyxs

Description

@babynonkeyxs

if my baseNavigationController overwrite like this :

public override var supportedInterfaceOrientations: UIInterfaceOrientationMask {
return self.visibleViewController?.supportedInterfaceOrientations ?? .portrait
}

and your AlertController overwrite like this :

public override var supportedInterfaceOrientations: UIInterfaceOrientationMask {
return self.presentingViewController?.supportedInterfaceOrientations ?? super.supportedInterfaceOrientations
}

then visibleViewController of baseNavigationController isqual to SDCAlertController
and presentingViewController of AlertController isqual to baseNavigationController
circular reference

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions