CJPAdController icon indicating copy to clipboard operation
CJPAdController copied to clipboard

Status Bar Style default

Open tigpt opened this issue 9 years ago • 1 comments

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 avatar Dec 20 '15 13:12 tigpt

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; }

tigpt avatar Dec 22 '15 15:12 tigpt