I'm having trouble upgrading my block to iOS 13 and I cannot find an example anywhere on the web. What am I missing here?
[[PHImageManager defaultManager] requestImageDataAndOrientationForAsset:tempAsset options:options resultHandler:^(NSData * _Nullable imageData, NSString * _Nullable dataUTI, UIImageOrientation orientation, NSDictionary * _Nullable info){
}];
Gives me an error of: Incompatible block pointer types sending 'void (^)(NSData * _Nullable __strong, NSString * _Nullable __strong, UIImageOrientation, NSDictionary * _Nullable __strong)' to parameter of type 'void (^ _Nonnull)(NSData * _Nullable __strong, NSString * _Nullable __strong, CGImagePropertyOrientation, NSDictionary * _Nullable __strong)'
Thank you!