Search code examples
iphoneiosxcodeprivateprivacy

Request Permission To Access Contacts


How can you setup an app that will ask for permission to access contacts before pulling up the Mail Composer? I know it is fairly recent that apps will do this.


Solution

  • Since Apple provides the MFMailComposeViewController it already has access to the users contacts built in, no need to have access granted. If you're looking to use the users contacts elsewhere you should look into the Address Book Programming Guide