I want to show the addressbook as a tabbar item so I defined this code in the delegate for the tab bar:
Contacts = [[ABPeoplePickerNavigationController alloc] init];
Contacts.tabBarItem.image = [UIImage imageNamed:@"Contact.png"];
Contacts.tabBarItem.title = NSLocalizedStringFromTable (@"Label_Contact_String" , language , @"");
//[Contacts.navigationController.navigationBar setBarStyle:UIBarStyleBlack];
Contacts.peoplePickerDelegate = self;
[rootViewController addObject:Contacts];
The contacts list is shown but there is a cancel button in navigation bar that is not useful and I can't remove it from navigation bar. Can you help me? Thanks