navigationBar può prendere tre vista, due pulsanti in ogni lato a destra ea sinistra, anche è possibile aggiungere una vista per il titolo ,,
//this will set a background image to your navigation bar.
[[self.navigationController navigationBar] setBackgroundImage:[UIImage imageNamed:@"top-bar.png"] forBarMetrics:UIBarMetricsDefault];
UIButton *leftButton = [UIButton buttonWithType:UIButtonTypeCustom];
[leftButton setBackgroundImage:[UIImage imageNamed:@"backBtn.png"] forState:UIControlStateNormal];
leftButton.frame = CGRectMake(0, 0, 66, 30);
[leftButton addTarget:self action:@selector(navBack) forControlEvents:UIControlEventTouchUpInside];
self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithCustomView:leftButton];
UIImage *image=[UIImage imageNamed:@"add-btn.png"];
UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
button.bounds = CGRectMake(0, 0, image.size.width, image.size.height);
[button setBackgroundImage:image forState:UIControlStateNormal];
[button addTarget:self action:@selector(doneAct) forControlEvents:UIControlEventTouchUpInside];
self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithCustomView:button];
e di aggiungere la barra di ricerca
self.navigationItem.titleView = mySearchbarView;
Non credo che stanno utilizzando barra di navigazione personalizzata ... è semplice immagine :) – NSCry
che probabilmente non .. Io sono d'accordo. la mia risposta è esagerata per questo .. è più flessibile ma il codice di Aziz sembra più adatto per QUESTO penso. .. anche se non conosco i separatori di sfondo –