Replies: 1 comment
-
Maybe a duplicate to #2016 , a frame setup is necessary for changing image aspect in placeholder. And also the new |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, this is my code:
It seems it's impossible to make the placeholder .fit or respect the padding because it's immediately overridden by the .fill
Apple's AsyncImage I can do:
but it doesn't look like I can with KFImage? I looked at onSuccess and onFailureImage but looks like they don't quite do what I want.
In UIKit I used to kf.setImage and switch on the result
Am I missing something obvious or is this not possible using KFImage? Thanks
Beta Was this translation helpful? Give feedback.
All reactions