我想将地址簿显示为选项卡栏项目,因此我在选项卡栏的委托中定义了此代码:
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];
显示了联系人列表,但导航栏中有一个取消按钮,该按钮无用,我无法将其从导航栏中删除。你能帮助我吗?谢谢