草庐IT

shouldContinueAfterSelectingPerso

全部标签

ios - ABPeoplePickerNavigationController shouldContinueAfterSelectingPerson 返回搜索结果

-(BOOL)peoplePickerNavigationController:(ABPeoplePickerNavigationController*)peoplePickershouldContinueAfterSelectingPerson:(ABRecordRef)person{DefaultContactSelectViewController*view=[[selfstoryboard]instantiateViewControllerWithIdentifier:@"DefaultContactView"];view.recordID=recordID;view.phon

ios - peoplePickerNavigationController : shouldContinueAfterSelectingPerson: property: identifier:

我正在尝试获取选定的手机号码ABMultiValueRefphones=ABRecordCopyValue(person,property);CFStringRefphoneNumber=ABMultiValueCopyValueAtIndex(phones,identifier);我与多部手机(都标有“手机”)有联系。当我选择第一个时,phoneNumber会给我第一个,但如果我选择任何连续的,phoneNumber会给我前一个号码:联系方式:杰·詹姆斯手机+1111111111手机+2222222222手机+3333333333点击第一个,phoneNumber=+11111111