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

Popping up a ZAlertView menu will change app status bar to black #14

Closed
idokleinman opened this issue Sep 9, 2016 · 2 comments
Closed

Comments

@idokleinman
Copy link

I have a light content status bar app - when I pop up a multiple choice ZAlertView app status bar momentarily changes to black. Any workaround for that?

@zelic91
Copy link
Owner

zelic91 commented Sep 11, 2016

Please checkout the version 0.2.1. By default, the dialog will use the status bar style in Info.plist. You can also set the value manually with ZAlertView.

@zelic91 zelic91 closed this as completed Sep 11, 2016
@Gerst20051
Copy link

I created this class in order to hide the status bar as my app has it hidden.

import ZAlertView

class Dialog: ZAlertView {

    init(type: AlertType) {
        super.init(title: nil, message: nil, alertType: type)
    }

    required public init?(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
    }

    override var prefersStatusBarHidden: Bool {
        return true
    }

}

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

3 participants