Skip to content

Commit b8a1290

Browse files
committed
Update the readme about AnimatedImage on watchOS
1 parent 7e21926 commit b8a1290

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ var body: some View {
107107

108108
Note: `AnimatedImage` supports both image url or image data for animated image format. Which use the SDWebImage's [Animated ImageView](https://github.com/SDWebImage/SDWebImage/wiki/Advanced-Usage#animated-image-50) for internal implementation.
109109

110-
Note: `AnimatedImage` does not support watchOS currently. Because there are no Public API to implement it via `WKInterfaceObjectRepresentable` or `SwiftUI.Image`. We need Apple to provide a better solution. But if you're really interested in this, checkout [feature_watchOS_animation](https://github.com/SDWebImage/SDWebImageSwiftUI/tree/feature_watchOS_animation) branch, which using some super hack to support animated image on watchOS.
110+
Note: From v0.4.0, `AnimatedImage` supports watchOS as well. However, it's not backed by SDWebImage's [Animated ImageView](https://github.com/SDWebImage/SDWebImage/wiki/Advanced-Usage#animated-image-50) like iOS/tvOS/macOS. It use some tricks and hacks because of the limitation on current Apple's API. It also use Image/IO decoding system, which means it supports GIF and APNG format only, but not external format like WebP.
111111

112112
## Demo
113113

0 commit comments

Comments
 (0)