How to change the status bar background color and text color on iOS 7?
Warning: It does not work anymore with iOS 13 and Xcode 11. ======================================================================== I had to try look for other ways. Which does not involve addSubview on window. Because I am moving up the window when keyboard is presented. Objective-C – (void)setStatusBarBackgroundColor:(UIColor *)color { UIView *statusBar = [[[UIApplication sharedApplication] valueForKey:@”statusBarWindow”] valueForKey:@”statusBar”]; if ([statusBar respondsToSelector:@selector(setBackgroundColor:)]) { … Read more