Reputation: 485
I am trying to implement contact details from iphone. but getting error
Upvotes: 0
Views: 162
Reputation: 1396
In your project build settings, under the general tab, find the section for Linked frameworks and Libraries
.
Then find and add Contacts.framework
(and optionally ContactsUI.framework) to your project.
Do a clean rebuild of your project to be sure.
Hope that helps!
Upvotes: 1
Reputation: 9540
It shows because in iOS9 new Contacts framework has been integrated named "ContactsUI".
so, import ContactsUI
in your file.
Reference Example:
How to select a contact with ABPeoplePickerNavigationController in Swift?
Upvotes: 0