zhxnlai / ZLPeoplePickerViewController

A multilingual replacement for ABPeoplePickerNavigationController (address book picker) that supports UILocalized​Indexed​Collation
MIT License
189 stars 48 forks source link

Stuck in Search #19

Open ronlisle opened 8 years ago

ronlisle commented 8 years ago

If the Search field is used, then the demo app is stuck there. The found items are displayed, but selecting them only opens the details, and doesn't return the selection to the previous screen.

jessearmand commented 8 years ago

@ronlisle To handle the selection of the person, implement the delegate method of ZLPeoplePickerViewControllerDelegate in your application:

- (void)peoplePickerViewController:(ZLPeoplePickerViewController *)peoplePicker didSelectPerson:(NSNumber *)recordId

The demo app is just displaying the selected item.