0
我使用ABPeoplePickerNavigationController
獲取聯繫人,當我選擇這些聯繫人中的任何一個時,我使用ABPersonViewController
獲取該人的詳細信息。從蘋果文件中,我們將使用allowsActions:
方法獲取ABPersonViewController
上的時間按鈕。但我沒有得到時間。我已經使用以下代碼..ABPersonViewController沒有顯示facetime按鈕?
- (BOOL)peoplePickerNavigationController:
(ABPeoplePickerNavigationController *)peoplePicker
shouldContinueAfterSelectingPerson:(ABRecordRef)person {
// NSLog(@"shouldContinueAfterSelectingPerson");
ABPersonViewController *picker = [[ABPersonViewController alloc] init] ;
picker.personViewDelegate = self;
picker.displayedPerson = person;
[email protected][@(kABPersonPhoneProperty),@(kABPersonEmailProperty),@(kABPersonBirthdayProperty),@(kABPersonOrganizationProperty),@(kABPersonJobTitleProperty),@(kABPersonDepartmentProperty),@(kABPersonNoteProperty),@(kABPersonCreationDateProperty)];
picker.allowsActions=YES;
[self.navigationController pushViewController:picker animated:YES];}