addressbookui

Cannot select contact on iOS 8

£可爱£侵袭症+ 提交于 2019-12-01 17:55:17
I have a subclass of ABPeoplePickerNavigationController to handle selecting a contact phone number in my app. Everything works great on iOS 7 and below. On iOS 8, however, my ABPeoplePickerNavigationControllerDelegate does not get hit when selecting a phone number. Instead, it just calls that phone number. I noticed that the method I was using to handle contact selection in iOS 7 ( peoplePickerNavigationController:shouldContinueAfterSelectingPerson:property:identifier: ) was deprecated in iOS 8. This method was replaced by peoplePickerNavigationController:didSelectPerson:property:identifier: .

Cannot select contact on iOS 8

心已入冬 提交于 2019-12-01 17:21:46
问题 I have a subclass of ABPeoplePickerNavigationController to handle selecting a contact phone number in my app. Everything works great on iOS 7 and below. On iOS 8, however, my ABPeoplePickerNavigationControllerDelegate does not get hit when selecting a phone number. Instead, it just calls that phone number. I noticed that the method I was using to handle contact selection in iOS 7 ( peoplePickerNavigationController:shouldContinueAfterSelectingPerson:property:identifier: ) was deprecated in iOS