Replies: 1 comment 1 reply
-
I think you can use placeholder modifier as skeleton animation or prefetch mechanism. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using version 8.
I read that
loadImmediately
onFKImage
is deprecated "because we use@StateObject
", but TBH I don't understand this explanation.I have the following code in SwiftUI
When I start scrolling horizontally the next image is black for a short while, until it has been loaded and then it appears as it's supposed to.
I see no way of force-loading the
KFImage
's url so I don't have this black flash when scrolling to an image that's not in the cache already, at least not usingFKImage
capture.mov
Beta Was this translation helpful? Give feedback.
All reactions