dillidon / alerts-and-pickers

Advanced usage of UIAlertController and pickers based on it: Telegram, Contacts, Location, PhotoLibrary, Country, Phone Code, Currency, Date...
MIT License
5.66k stars 703 forks source link

Missing Plist mentioning use of Contacts or Gallery access #108

Open majeedyaseen opened 4 years ago

majeedyaseen commented 4 years ago

You should mention to user that they need to add the persmission in plist to avoid getting their binary rejected on submission.

These are the errors Apple comes up with,

Your app's code references one or more APIs that access sensitive user data. The app's Info.plist file should contain a NSContactsUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data.

Your app's code references one or more APIs that access sensitive user data. The app's Info.plist file should contain a NSPhotoLibraryUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data.