We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15d4957 commit 98dcd2dCopy full SHA for 98dcd2d
Example/SDWebImageSwiftUIDemo/ContentView.swift
@@ -20,7 +20,6 @@ struct ContentView: View {
20
AnimatedImage(url: URL(string: "https://raw.githubusercontent.com/liyong03/YLGIFImage/master/YLGIFImageDemo/YLGIFImageDemo/joy.gif")!)
21
// .scaledToFit() // Apple's Bug ? Custom UIView does not passthrough the `contentMode` from Swift UI layout system into UIKit layout system
22
.frame(width: 400, height: 300, alignment: .center)
23
- AnimatedImage(data: try! Data(contentsOf: URL(fileURLWithPath: "/tmp/foo.webp")))
24
}
25
26
0 commit comments