Closed temrov closed 1 year ago
What's your mean animate from placeholder to loaded image
Actually, the placeholder and final loaded image, is Different View Identity. So the automatic animation provided by SwiftUI can only show the fade-in/fade-out animation
See more: https://developer.apple.com/videos/play/wwdc2021/10022/
I was asked to animate from placeholder to loaded image so I see no other way to do it without changing WebView code. Usage could be like this: