I am trying to save photos to Photo Library from my app. While saving I am checking whether user has given permission to do so, otherwise I am asking the user to go to Settings and turn on the permission. Only if the permission has been given only, I am saving the photos. For this I am using PHPhotLibray's requestAuthorization()
method and NSPhotoLibraryUsageDescription
key in my app's Info.plist.
Because of these checks that I do in my app, there is no chance of crash even if I don't add NSPhotoLibraryAddUsageDescription
key in app's Info.plist.
But my concern is whether it will be rejected during the App Store Review?
Best Answer
The Apple Developer documentation for
NSPhotoLibraryAddUsageDescription
key says:So, yes, it's possible that for the app to get rejected in the absence of the key. If the app happen to crash during the review process due to the absence of the key (or for some reason we don't know how the SDK works internally), it may get rejected.
Per, this answer on Stack Overflow:
From the question:
From the answer:
Note: It's better to adhere to Apple's guidelines and include the key in your app's Info.plist. There's no harm/performance penalty by adding the key. In-fact with the key added, there's one less reason for your app to get rejected.