how do i change the black bar to another color?
N.B this is a CNContactPickerViewcontroller...the first screen(list of contacts) looks fine but when i click on a contact to choose a specific contact property then the navigation bar turns black.
Thanks
I've solved it by changing the backgroundColor of the navbar subviews after a delay, not pretty, but it's good enough for me:
One way is to set the Appearance of UINavigationBar to the color you want:
And once you return to the previous ViewController (Maybe with
-(void)viewWillAppear:(BOOL)animated
) you set it again to the previous color you were using.I presented the Contact this way:
Once the contactController is Dismissed the
viewWillAppear
is called and you can add there the color restore depending on your needs:}