There is a new photo permission status (PHAuthorizationStatus.limited) that was released in iOS 14 as outlined here, which also introduced a new API to get that status for iOS 14+ (PHPhotoLibrary.authorizationStatusForAccessLevel)
This PR adds the new status and the new API to get it for iOS 14+ and falls back to the original implementation for older iOS. @farfromrefug I also added NSPhotoLibraryUsageDescription to the demo's plist so I can test the permission without causing the app to crash :)
There is a new photo permission status (
PHAuthorizationStatus.limited
) that was released in iOS 14 as outlined here, which also introduced a new API to get that status for iOS 14+ (PHPhotoLibrary.authorizationStatusForAccessLevel
)This PR adds the new status and the new API to get it for iOS 14+ and falls back to the original implementation for older iOS. @farfromrefug I also added
NSPhotoLibraryUsageDescription
to the demo's plist so I can test the permission without causing the app to crash :)