2

Since iOS 6.0 the OS adds rounded corners below the statusbar with style UIStatusBarStyleBlackOpaque on the iPhone.

Is there a way to remove them?

pre
  • 3,475
  • 2
  • 28
  • 43

1 Answers1

3

Changing the statusbar style to UIStatusBarStyleBlackTranslucent removes the rounded corners. Having a black view behind it, it will look exactly the same like a statusbar with style UIStatusBarStyleBlackOpaque except of the rounded corners.

You can change the statusbar style using this code:

[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleBlackTranslucent];
pre
  • 3,475
  • 2
  • 28
  • 43
  • 1
    @CalZone When you put a black view behind the transparent status bar, it is indistinguishable from a black status bar – pre May 13 '13 at 16:43