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 support added #6

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

Conversation

carguezu
Copy link

@carguezu carguezu commented Mar 1, 2014

Now you can change or hide the initial status bar style

@property (nonatomic) UIStatusBarStyle statusbarStyle;
@property(nonatomic, getter=isStatusBarHidden) BOOL statusBarHidden;

Or change it or hide it individually from each of your child controllers by adding one of these two methods

- (UIStatusBarStyle)preferredStatusBarStyle {
    return UIStatusBarStyleLightContent;
}

-(BOOL) prefersStatusBarHidden {
    return YES;
}

Note: we are assuming that your "View controller-based status bar appearance" in your info.plist is set to YES

@luisrecuenco luisrecuenco force-pushed the master branch 2 times, most recently from db3c327 to 3f0d434 Compare August 26, 2014 06:35
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.

1 participant