[ExpFeat] Fixes saving screenshots to Photos with .limited authorization
This commit is contained in:
parent
69eff8fa28
commit
648e9b8393
@ -16,10 +16,10 @@ extension PHPhotoLibrary
|
|||||||
PHPhotoLibrary.requestAuthorization(for: .addOnly, handler: { success in
|
PHPhotoLibrary.requestAuthorization(for: .addOnly, handler: { success in
|
||||||
switch success
|
switch success
|
||||||
{
|
{
|
||||||
case .authorized:
|
case .authorized, .limited:
|
||||||
code()
|
code()
|
||||||
|
|
||||||
case .denied, .restricted, .notDetermined, .limited:
|
case .denied, .restricted, .notDetermined:
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user