We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8441718 commit ab7a54cCopy full SHA for ab7a54c
SDWebImageSwiftUI/Classes/AnimatedImage.swift
@@ -175,6 +175,10 @@ public struct AnimatedImage : PlatformViewRepresentable {
175
layoutView(view, context: context)
176
}
177
178
+ public static func dismantleWKInterfaceObject(_ view: SDAnimatedImageInterface, coordinator: ()) {
179
+ view.stopAnimating()
180
+ }
181
+
182
func layoutView(_ view: SDAnimatedImageInterface, context: PlatformViewRepresentableContext<AnimatedImage>) {
183
// AspectRatio
184
if let _ = imageLayout.aspectRatio {
0 commit comments