contact selection not possible when using the search bar

1.6k Views Asked by At

Im using the ContactPickerViewController with CNContactPickerDelegate to get the contact numbers

    func contactPicker(picker: CNContactPickerViewController,
                       didSelectContacts contacts: [CNContact]) 
    {...}

but when I try to use the search bar to find a contact , the selection box disappear (also if I click on the relevant cell , the contact remain unselected)

without using the search bar everything work fine

when trying to use the search bar

thanks for your help!

1

There are 1 best solutions below

4
Chaithanya Prathyush On

Looks like its a bug in iOS 9. It has been reported.

Check the discussion thread here https://forums.developer.apple.com/message/87148#87148

You could try using other open source alternatives

EPContactsPicker - https://github.com/ipraba/EPContactsPicker

Or write your own tableview that implements the functionality.