Skip to content

Commit 944388f

Browse files
committed
Update the readme about AnimatedImage and watchOS
1 parent ecd33b3 commit 944388f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ 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.
111+
110112
## Demo
111113

112114
To run the example using SwiftUI, following the steps:

0 commit comments

Comments
 (0)