user1940321
user1940321

Reputation:

Way to make corners square in ViewController?

I've built out a demo app and am wondering if there is any way to now change this app to have square corners in the top menu bar of the app? I've seen other apps that have this and wondering if someone could point me in the right direction on how to accomplish this. Thanks!

Before:

enter image description here

After:

enter image description here

Upvotes: 0

Views: 133

Answers (1)

rob mayoff
rob mayoff

Reputation: 385890

In iOS 6.0 or later, if you set the status bar style to UIStatusBarStyleBlackOpaque, you get rounded corners. If you set the status bar style to UIStatusBarStyleDefault or UIStatusBarStyleBlackTranslucent, you get square corners.

status bar styles

Upvotes: 2

Related Questions