CFAlertViewController icon indicating copy to clipboard operation
CFAlertViewController copied to clipboard

preferredStatusBarStyle for CFAlertViewController

Open MartinP7r opened this issue 6 years ago • 0 comments

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.

MartinP7r avatar Mar 29 '18 23:03 MartinP7r