SDWebImageSwiftUI
Currently ImagePlayer
does not expose the animationFrameHandler
.
It would be very helpful if we can pass in a custom animationFrameHandler
when using ImagePlayer
.
Use cases:
- Track the current frame index during animation playback
- Implement custom progress UI or analytics
- Detect when the animation reaches the last frame (playback complete)