Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS: Custom permission alert view text

Anyway to custom permission alert view like: Contacts, Photo Album, Push Notifications... before they get access, they will pop up an alert view like this:

enter image description here

How to custom Contacts, photo album, push notifications alert view text?

UPdate:

enter image description here

See the update image above, translate into english:

"To seek for your family and friends, Path needs to transfer your contacts to our server"

And click OK to get contacts access without any other access permission alert view pops up.

like image 249
Jason Zhao Avatar asked Jan 04 '13 14:01

Jason Zhao


1 Answers

Under iOS 6 and above, these can be setup to show specific messages. Edit your Info.plist by adding a few new entries. The keys all begin with "Privacy - " (the raw keys are NSxxxUsageDescription where xxx is Contacts, Locations, Reminders, PhotoLibrary, or Calendards). The value is the text you wish to display to the user.

like image 107
rmaddy Avatar answered Oct 06 '22 00:10

rmaddy