Use - requestImageForAsset: targetSize: contentMode: options: resultHandler on iOS15 beta

On iOS15 beta, Use -requestImageForAsset: targetSize: contentMode: options: resultHandler, callback UIImage * result is nil, and PHImageErrorKey = "Error Domain=PHPhotosErrorDomain Code=-1 "(null)""

Could you show how you call (objc code ?)

requestImage(for:targetSize:contentMode:options:resultHandler:)

The method is asynchronous, so maybe you look at result before completion ? You can force it to be synchronous (at least for testing purpose).

Did you check permission keys in info.plist ?

h t t p s : / / github.com/react-native-cameraroll/react-native-cameraroll/issues/157

Use - requestImageForAsset: targetSize: contentMode: options: resultHandler on iOS15 beta
 
 
Q