I use the navigationController, and i hide the navigationBar, how to set statusBar color on iPhoneX? I do not want to set self.view.backgroundColor
iPhoneX notch color
UIView *statusBar = (UIView *)[[UIApplication sharedApplication] valueForKey:@"statusBar"];
statusBar.backgroundColor = [UIColor greenColor];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With