Remove the dummy demo code

This commit is contained in:
DreamPiggy 2019-08-09 16:56:13 +08:00
parent 15d495772b
commit 98dcd2d619
1 changed files with 0 additions and 1 deletions

View File

@ -20,7 +20,6 @@ struct ContentView: View {
AnimatedImage(url: URL(string: "https://raw.githubusercontent.com/liyong03/YLGIFImage/master/YLGIFImageDemo/YLGIFImageDemo/joy.gif")!) AnimatedImage(url: URL(string: "https://raw.githubusercontent.com/liyong03/YLGIFImage/master/YLGIFImageDemo/YLGIFImageDemo/joy.gif")!)
// .scaledToFit() // Apple's Bug ? Custom UIView does not passthrough the `contentMode` from Swift UI layout system into UIKit layout system // .scaledToFit() // Apple's Bug ? Custom UIView does not passthrough the `contentMode` from Swift UI layout system into UIKit layout system
.frame(width: 400, height: 300, alignment: .center) .frame(width: 400, height: 300, alignment: .center)
AnimatedImage(data: try! Data(contentsOf: URL(fileURLWithPath: "/tmp/foo.webp")))
} }
} }
} }