这是我使用的人打电话选取器的代码,但提示标签文本不会更改:如何设置ABPeoplePickerNavigationController的提示?
ABPeoplePickerNavigationController *picker = [[ABPeoplePickerNavigationController alloc] init];
picker.peoplePickerDelegate = self;
picker.displayedProperties = [NSArray arrayWithObjects: [NSNumber numberWithInt:kABPersonEmailProperty], nil];
picker.navigationItem.prompt = @"Choose a contact to...";
[self presentModalViewController:picker animated:YES];
picker.navigationBar.topItem.title = @ “iPhone联系人”;不改变标题。任何想法? – 2011-04-30 16:49:09