File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,17 +58,16 @@ - (RCTImageLoaderCancellationBlock)loadImageForURL:(NSURL *)imageURL
5858
5959 // Note: PhotoKit defaults to a deliveryMode of PHImageRequestOptionsDeliveryModeOpportunistic
6060 // which means it may call back multiple times - we probably don't want that
61+ imageOptions.deliveryMode = PHImageRequestOptionsDeliveryModeHighQualityFormat;
6162
6263 BOOL useMaximumSize = CGSizeEqualToSize (size, CGSizeZero);
6364 CGSize targetSize;
6465 if (useMaximumSize) {
6566 targetSize = PHImageManagerMaximumSize;
6667 imageOptions.resizeMode = PHImageRequestOptionsResizeModeNone;
67- imageOptions.deliveryMode = PHImageRequestOptionsDeliveryModeHighQualityFormat;
6868 } else {
6969 targetSize = size;
7070 imageOptions.resizeMode = PHImageRequestOptionsResizeModeFast;
71- imageOptions.deliveryMode = PHImageRequestOptionsDeliveryModeFastFormat;
7271 }
7372
7473 PHImageContentMode contentMode = PHImageContentModeAspectFill;
You can’t perform that action at this time.
0 commit comments