Skip to content

preferredStatusBarStyle for CFAlertViewController #16

@MartinP7r

Description

@MartinP7r

Sorry for asking a probably mundane question here, but would there be a way to set the statusbarStyle to lightContent for CFAlertViewController? I'm forced to use controller-based status bar appearance (because I need to hide the status-bar in an unrelated VC) and the rest of my app uses lightContent statusbars. I tried extending CFAlertViewController like so:

extension CFAlertViewController {
    open override var preferredStatusBarStyle: UIStatusBarStyle {
        return .lightContent
    }
}

but that didn't change anything.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions