CJPAdController
CJPAdController copied to clipboard
Status Bar Style default
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
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; }