mirror of
https://github.com/jphong1111/awesome-ios-developer.git
synced 2024-12-22 22:45:33 +07:00
update image downloader
This commit is contained in:
parent
47520ce42b
commit
561bb7d619
@ -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 👏👏👏
|
||||
|
Loading…
Reference in New Issue
Block a user