with bar style as BlackOpaque
my people picker looks like:
but when I want the barStyle to be BlackTranslucent
, it looks like this:
I have tried solution from here
CODE:
- (void)showPeoplePickerController
{
ABPeoplePickerNavigationController *picker = [[ABPeoplePickerNavigationController alloc] init];
picker.peoplePickerDelegate = self;
NSArray *displayedItems = [NSArray arrayWithObjects:[NSNumber numberWithInt:kABPersonPhoneProperty],
[NSNumber numberWithInt:kABPersonEmailProperty],
[NSNumber numberWithInt:kABPersonBirthdayProperty],[NSNumber numberWithInt:kABPersonAddressProperty],nil];
picker.displayedProperties = displayedItems;
picker.navigationBar.barStyle = UIBarStyleBlack;
// picker.navigationBar.translucent = YES; //uncommented for translucent bar
[self.navigationController presentModalViewController:picker animated:YES];
}
But how do I shift things from PeoplePicker down?