Michiel's Blog

SURF, SNOWBOARD, BIKE, MUSIC, SPORT, NATURE AND BEAUTIFUL STUFF.

- Michiel van Hulst

There are lots of iPhone apps in the AppStore with stunning designed, often black styled interfaces. The only this missing is a well consisted styling of the status bar (where the carrier is displayed) and often (top) navigation bars.

Below I show you how to complete your interface style from top to bottom in 2 steps:

[1] In your project “Info.plist” file add a row with the following key and value:
UIStatusBarStyle = UIStatusBarStyleOpaqueBlack

[2] In your code on the UINavigationController set barStyle to UIBarStyleBlackOpaque like example;

[code]
yourNavController.navigationBar.barStyle = UIBarStyleBlackOpaque;
[/code]

This is how its look when you’re done:

How to style your iPhone app's consisted from top to bottom Example

2 years ago