Skip to content

Commit cdfc62c

Browse files
author
radeva
authored
Merge pull request #121 from wbancer/fix-icloud-bug
Enabled network access to allow iCloud images to be retrieved when se…
2 parents bdfe7ab + a858cc5 commit cdfc62c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/imagepicker.ios.ts

+1
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ class ImagePickerPH extends ImagePicker {
266266
this._thumbRequestOptions.resizeMode = PHImageRequestOptionsResizeMode.Exact;
267267
this._thumbRequestOptions.synchronous = false;
268268
this._thumbRequestOptions.deliveryMode = PHImageRequestOptionsDeliveryMode.Opportunistic;
269+
this._thumbRequestOptions.networkAccessAllowed = true; // needed for retrieving iCloud images
269270
this._thumbRequestOptions.normalizedCropRect = CGRectMake(0, 0, 1, 1);
270271

271272
this._thumbRequestSize = CGSizeMake(80, 80);

0 commit comments

Comments
 (0)