Skip to content

status bar style support added#6

Open
carguezu wants to merge 2 commits intoluisrecuenco:masterfrom
carguezu:statusbar
Open

status bar style support added#6
carguezu wants to merge 2 commits intoluisrecuenco:masterfrom
carguezu:statusbar

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