Skip to content
This repository has been archived by the owner on May 4, 2023. It is now read-only.

add preferredStatusBarStyle #5

Merged
merged 1 commit into from
Dec 18, 2013

Conversation

xinsight
Copy link
Contributor

If you have dark navigation bars, then the status bar text is black-on-black.

[[UINavigationBar appearance] setBarStyle:UIBarStyleBlack];

By adding preferredStatusBarStyle to the split view controller, callers can specify light content.

BDBSplitViewController *splitViewController = [[BDBSplitViewController alloc] init...]
splitViewController.preferredStatusBarStyle = UIStatusBarStyleLightContent;

bdbergeron added a commit that referenced this pull request Dec 18, 2013
Add support for preferredStatusBarStyle
@bdbergeron bdbergeron merged commit d2913ea into bdbergeron:master Dec 18, 2013
@bdbergeron
Copy link
Owner

This is a great addition, thanks so much!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants