I use code for get list image
let options = PHFetchOptions()
options.sortDescriptors = [NSSortDescriptor(key: "creationDate", ascending: false)]
options.predicate = NSPredicate(format: "mediaType == %d", PHAssetMediaType.image.rawValue)
return PHAsset.fetchAssets(with: options)
But in permission Limit
in ios 14 this will get all image.
Just get only limit photo.
I had the same problem. It only occurs in the simulator. You can try it on a real device. It's probably a bug in the simulator.