-
Notifications
You must be signed in to change notification settings - Fork 256
Closed
Labels
Milestone
Description
I want get the uiimage of remote and save it to the photo library, onSuccess is a good solution, but I found that onSuccess is not executed if already cached, I cannot get the uiimage from here every time. Is this a issue or is there another solution for this?
WebImage(url: URL(string: "https://nokiatech.github.io/heif/content/images/ski_jump_1440x960.heic"))
.onSuccess { image, cacheType in
// Success
print("\(image), \(cacheType)")
}
and cacheType = SDImageCacheType?
20-02-01 16:11:19 CardView[37], ContentView: <UIImage:0x2830f3060 anonymous {1310, 256}>, SDImageCacheType