ABUnknownPersonViewController and custom navigation bars

Discussion in 'iOS Programming' started by North Bronson, Nov 4, 2009.

  1. macrumors 6502

    Oct 31, 2007
    San José
    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?

Share This Page