i am trying to determine if user gives access or not add photos only :
I've tried the Gallery authrization status not working , also this :
if PHPhotoLibrary.authorizationStatus() == PHAuthorizationStatus.authorized {
print("[CHECK] ok")
}else{
print("[CHECK] not ok")
}
is there any way to check if user gives access to add photos ?
i am using the below method to save to gallery :
UIImageWriteToSavedPhotosAlbum(image, {
}, nil, nil)