Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS ContactsUI Framework Permissions

I'm fetching contacts using CNContactPickerViewController, and it seems that iOS doesn't automatically ask me for access permissions.

Do I really need permissions for using CNContactPickerViewController 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.

like image 763
chrisamanse Avatar asked Dec 15 '22 06:12

chrisamanse


1 Answers

Permission is not required when using CNContactPickerViewController.

The documentation for CNContactPickerViewController states:

The app using contact picker view does not need access to the user’s contacts and the user will not be prompted for “grant permission” access. The app has access only to the user’s final selection.

like image 135
Murray Sagal Avatar answered Dec 26 '22 21:12

Murray Sagal