chrisamanse chrisamanse - 1 year ago 142
iOS Question

iOS ContactsUI Framework Permissions

I'm fetching contacts using

, and it seems that iOS doesn't automatically ask me for access permissions.

Do I really need permissions for using
or do I need to request for permissions manually?

If I need permissions for this, will my app get rejected if I submit this app to the App Store and if I did not ask for Contacts permissions?

Note: There is nothing stated in the ContactsUI Framework documentation.

Answer Source

I guess that using ContactsUI API doesn't need permissions since it states in Contacts Framework Reference that permissions will only show (the first time only) on calls to CNContactStore.

Users can grant or deny access to contact data on a per-application basis. Any call to CNContactStore will block the application while the user is being asked to grant or deny access. Note that the user is prompted only the first time access is requested; any subsequent CNContactStore calls use the existing permissions.


Apple's Contacts Framework Reference

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download