Post

Replies

Boosts

Views

Activity

Reply to iOS 14, even if user limiting the images exposed to the app, PHFetchResult will return the count of all images
Edit: This seems to be happening only in the simulator, I cannot repro it on a device running iOS 14 Beta 7 I've been experiencing the same Xcode 12 beta 6 Following code returns all assets instead just the ones I've whitelisted. let fetchOptions = PHFetchOptions() fetchOptions.sortDescriptors = [NSSortDescriptor(key: "creationDate", ascending: true)] let cameraRollFetchResult = PHAsset.fetchAssets(with: fetchOptions)
Sep ’20