Interface Builder Navigation Bar Setting

The “Simulated Metrics” don’t actually alter the status bar, navigation bar etc, it just simulates the size and colour of them for you so that you can layout your views without having to shift everything down.

Adding Navigation Bar Based View Controller

In AppDelegate_iPhone.h

@interface AppDelegate_iPhone : AppDelegate_Shared
{
	UINavigationController *navController1;
	#ViewController_iPhone *#ViewController_iPhone1;
In AppDelegate_iPhone.m

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
	//Create a ItemsViewController
	#ViewController_iPhone1 = [[#ViewController_iPhone alloc] init];

	//Create an instance of a UINavigationController
	navController1 = [[UINavigationController alloc]
											 initWithRootViewController:#ViewController_iPhone1];	//The default view to show #ViewController

	//Place ItemsViewController table view in the window hierarchy
	[window addSubview:[navController1 view]];
	//Show the window
	[window makeKeyAndVisible];

- (void)dealloc
{
	[#ViewController_iPhone1 release];

In #ViewController_iPhone.m

- (id) init
{
	[super init];

	//----- SETUP NAVITATION BAR FOR THIS VIEW -----
	//Create info button
	UIButton* infoButton = [UIButton buttonWithType:UIButtonTypeInfoLight];
	[infoButton addTarget:self action:@selector(showInfoView:) forControlEvents:UIControlEventTouchUpInside];
	self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithCustomView:infoButton];

	[[self navigationItem] setTitle:@"My Title"];

- (void) showInfoView:(id)sender
{

Set Navigation Bar Color

    navController1.navigationBar.tintColor = [UIColor blackColor];