瀏覽代碼

no message

南鑫林 5 年之前
父節點
當前提交
cf7a68b941
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      RainbowPlanet/RainbowPlanet/Tools/TLPhotoPicker/TLPhotoLibrary.swift

+ 1 - 1
RainbowPlanet/RainbowPlanet/Tools/TLPhotoPicker/TLPhotoLibrary.swift

@@ -106,7 +106,7 @@ class TLPhotoLibrary {
         let options = PHImageRequestOptions()
         options.isSynchronous = true
         options.resizeMode = .none
-        options.isNetworkAccessAllowed = false
+        options.isNetworkAccessAllowed = true
         options.version = .current
         var image: UIImage? = nil
         _ = PHCachingImageManager().requestImageData(for: asset, options: options) { (imageData, dataUTI, orientation, info) in