I have an application that should save a picture to the Photo library if permission is granted and if not, it should write to another folder in the app sandbox. I do not need read access on the photo library, so I tried adding the NSPhotoLibraryAddUsageDescription in the info.plist and it works but I can't find out if and what the user has selected. I have found
PHAuthorizationStatus authStatus = [PHPhotoLibrary authorizationStatus];
for checking the status, but it seems there isn't a PHAuthorizationStatus
to signal the add-Photo authorization status. I always get PHAuthorizationStatusNotDetermined
for both settings, denied and consented.
Is there a known workaround? Did I miss an API call for determining the add-Photo-auth-status?