直接看代码
PHImageRequestOptions *options = [[PHImageRequestOptions alloc] init];
options.networkAccessAllowed = YES;
options.resizeMode = PHImageRequestOptionsResizeModeExact;
options.progressHandler = ^(BOOL degraded, double progress, NSError *error, BOOL *stop) {
};
options.progressHandler 这个回调直接报错
Incompatible block pointer types assigning to 'PHAssetImageProgressHandler Nullable' (aka 'void (^)(double, NSError * _Nullable __strong, BOOL * _Nonnull, NSDictionary * _Nullable __strong)') from 'void (^)(BOOL, double, NSError *_strong, BOOL *)'
这个怎么破?