View Full Version : ABUnknownPersonViewController and custom navigation bars

North Bronson
Nov 4, 2009, 12:40 PM
I'm creating an ABUnknownPersonViewController for my application. My application has a black-theme going on, so before I present the controller modally, I place it in a UINavigationController and do this:

[[newNavigationController navigationBar] setBarStyle: UIBarStyleBlack];

[self presentModalViewController: newNavigationController animated: YES];

The navigation bar is black, which is just what I wanted, but when I try hitting one of the buttons like "create new contact", the ABUnknownPersonViewController pushes a new controller that does *not* have my black navigation bar. Does anyone know how I can customize the way that the ABUnknownPersonViewController creates new controllers?