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

Status bar style ios7 #50

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Igor-Palaguta
Copy link

Status bar style can't be changed on iOS7, e.g presentViewController from popupController with

override func preferredStatusBarStyle() -> UIStatusBarStyle {
    return .LightContent
}

preferredStatusBarStyle is not called on iOS7

allow in viewWillDisappear use self.popupController and check self.isMovingFromParentViewController
@@ -169,7 +169,6 @@ - (void)setupObservers
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(orientationDidChange) name:UIApplicationDidChangeStatusBarOrientationNotification object:nil];

// Observe keyboard
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardWillShow:) name:UIKeyboardWillShowNotification object:nil];
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Igor-Palaguta Actually it subscribes to two different events: UIKeyboardWillShowNotification and UIKeyboardWillChangeFrameNotification with the same method: keyboardWillShow. So think it's still necessary to have both of them.

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

Successfully merging this pull request may close these issues.

2 participants