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 default #30

Open
tigpt opened this issue Dec 20, 2015 · 1 comment
Open

Status Bar Style default #30

tigpt opened this issue Dec 20, 2015 · 1 comment

Comments

@tigpt
Copy link

tigpt commented Dec 20, 2015

Hello,

I'm trying to use CJPAdController but when i add it, the status bar is always set to default and it looks bad on my black navigation bar

I want to set it to light content but i can't. it looks like this overwrites it

self.window.rootViewController = [CJPAdController sharedInstance];

Does anyone had the same problem? how to walk around it? Thanks a lot

@tigpt
Copy link
Author

tigpt commented Dec 22, 2015

I did edited CJPAdController.m (UIStatusBarStyle)preferredStatusBarStyle function to the one bellow, its not a fix for this issue, it is just a way to force it for this app, but only works if the status bar is always the same style.

// Go to CJPAdController.m and change status bar Style

  • (UIStatusBarStyle)preferredStatusBarStyle
    {
    return UIStatusBarStyleLightContent;
    }

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

1 participant