From dc4eca375386b5851df482a93231ab34c4509bc5 Mon Sep 17 00:00:00 2001 From: Wojciech Bancer Date: Sun, 15 Oct 2017 12:57:16 +0200 Subject: [PATCH] Enabled network access to allow iCloud images to be retrieved when selected --- src/imagepicker.ios.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/imagepicker.ios.ts b/src/imagepicker.ios.ts index dd5f4c3..5c124fb 100644 --- a/src/imagepicker.ios.ts +++ b/src/imagepicker.ios.ts @@ -266,6 +266,7 @@ class ImagePickerPH extends ImagePicker { this._thumbRequestOptions.resizeMode = PHImageRequestOptionsResizeMode.Exact; this._thumbRequestOptions.synchronous = false; this._thumbRequestOptions.deliveryMode = PHImageRequestOptionsDeliveryMode.Opportunistic; + this._thumbRequestOptions.networkAccessAllowed = true; // needed for retrieving iCloud images this._thumbRequestOptions.normalizedCropRect = CGRectMake(0, 0, 1, 1); this._thumbRequestSize = CGSizeMake(80, 80);