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 {
208
208
.playbackRate (2.0 ) // Playback speed rate
209
209
210
210
// Bundle (not Asset Catalog)
211
- AnimatedImage (name : " animation1" , isAnimating : $isAnimating) // Animation control binding
211
+ AnimatedImage (name : " animation1.gif " , isAnimating : $isAnimating) // Animation control binding
212
212
.maxBufferSize (.max )
213
213
.onViewUpdate { view, context in // Advanced native view coordinate
214
214
// AppKit tooltip for mouse hover
@@ -230,7 +230,7 @@ Note: some of methods on `AnimatedImage` will return `some View`, a new Modified
230
230
231
231
``` swift
232
232
var 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
234
234
.indicator (SDWebImageProgressIndicator.default ) // UIKit indicator component
235
235
.indicator (Indicator.progress ) // SwiftUI indicator component
236
236
.transition (SDWebImageTransition.flipFromLeft ) // UIKit animation transition
You can’t perform that action at this time.
0 commit comments