update image downloader

This commit is contained in:
Jungpyo Hong 2021-05-19 22:52:34 -05:00 committed by GitHub
parent 47520ce42b
commit 561bb7d619
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -329,7 +329,10 @@ if let data = try? Data(contentsOf: urls),
UIImageWriteToSavedPhotosAlbum(image, nil, nil, nil)
}
```
Just **change urls into your image URL**
> UIImageWriteToSavedPhotosAlbum will take care it to download to device.
> For more info go [here](https://www.hackingwithswift.com/example-code/media/uiimagewritetosavedphotosalbum-how-to-write-to-the-ios-photo-album)
Good To GO 👏👏👏