File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ var body: some View {
208208 .playbackRate (2.0 ) // Playback speed rate
209209
210210 // Bundle (not Asset Catalog)
211- AnimatedImage (name : " animation1" , isAnimating : $isAnimating) // Animation control binding
211+ AnimatedImage (name : " animation1.gif " , isAnimating : $isAnimating) // Animation control binding
212212 .maxBufferSize (.max )
213213 .onViewUpdate { view, context in // Advanced native view coordinate
214214 // AppKit tooltip for mouse hover
@@ -230,7 +230,7 @@ Note: some of methods on `AnimatedImage` will return `some View`, a new Modified
230230
231231``` swift
232232var body: some View {
233- AnimatedImage (name : " animation2" ) // Just for showcase, don't mix them at the same time
233+ AnimatedImage (name : " animation2.gif " ) // Just for showcase, don't mix them at the same time
234234 .indicator (SDWebImageProgressIndicator.default ) // UIKit indicator component
235235 .indicator (Indicator.progress ) // SwiftUI indicator component
236236 .transition (SDWebImageTransition.flipFromLeft ) // UIKit animation transition
You can’t perform that action at this time.
0 commit comments