How can I get rounded corners on the screen while still displaying the status bar?
In the application delegate, I apply these settings to the window:
[self.window.layer setCornerRadius:10.0]
[self.window.layer setMasksToBounds:YES]
self.window.layer.opaque = NO;
but at the top of the screen I don’t see a rounded corner due to the status bar. This is a problem because I also need the status bar in the application.
Can someone tell me how I can fix this?
Cintu source
share