Apple rejected app asking to provide relevant purpose string Info.plist

Vaughn picture Vaughn · Feb 13, 2019 · Viewed 16.8k times · Source

Apple rejected app as the permission description doesn't seem to be ok. What exactly the description should be for photo library?

Here is what they said. We noticed that your app requests the user’s consent to access their photos but does not clarify the use of the photos in the applicable purpose string.

What exact description should I write?

Following is my description

enter image description here

Answer

Thai Ha picture Thai Ha · Feb 23, 2019

With message you can follow this steps: 1. Open your Info.plist 2. Find this lines and change your message

<key>NSCameraUsageDescription</key>
<string>$(PRODUCT_NAME) would like to use your camera</string>

<key>NSPhotoLibraryAddUsageDescription</key>
<string>$(PRODUCT_NAME) would like to save photos to your photo gallery</string>

<key>NSPhotoLibraryUsageDescription</key>
<string>$(PRODUCT_NAME) would like access to your photo gallery</string>