SwiftUI animated image view that works on iOS and layout just as SwiftUI.Image
Screen.Recording.2021-07-31.at.02.18.33.mov
dependencies: [
.package(url: "https://github.com/krzyzanowskim/SwiftUI.AnimatedImage", from: "1.0")
],
import AnimatedImage
struct MyView: View {
var body: some View {
AnimatedImage(data: imageData)
.scaledToFit()
}
}