Post

Replies

Boosts

Views

Activity

Although status is .limited, iOS 14 still display all images
let accessLevel : PHAccessLevel = .readWrite       let phStatus = PHPhotoLibrary.authorizationStatus(for: accessLevel)       if (phStatus == .notDetermined) {         PHPhotoLibrary.requestAuthorization(for: accessLevel) {           newStatus in 	if (newStatus == .limited) {             var conf = PHPickerConfiguration()             conf.selectionLimit = 1             conf.filter = .any(of: [.images, .livePhotos])             let picker = PHPickerViewController(configuration: conf)             picker.delegate = self             self.present(picker, animated: true)           }         }       } I use above code (with new authorizationStatus and requestAuthorization Api) to test Limited Photo Library. But although I successfully got .limited status iOS 14 still display entire photo library. Can anyone help me to solve this?
5
0
3.4k
Aug ’20