From 98dcd2d6192dc67326588c07d01dcdad14e283e1 Mon Sep 17 00:00:00 2001 From: DreamPiggy Date: Fri, 9 Aug 2019 16:56:13 +0800 Subject: [PATCH] Remove the dummy demo code --- Example/SDWebImageSwiftUIDemo/ContentView.swift | 1 - 1 file changed, 1 deletion(-) diff --git a/Example/SDWebImageSwiftUIDemo/ContentView.swift b/Example/SDWebImageSwiftUIDemo/ContentView.swift index 34ecf9a..31aacf8 100644 --- a/Example/SDWebImageSwiftUIDemo/ContentView.swift +++ b/Example/SDWebImageSwiftUIDemo/ContentView.swift @@ -20,7 +20,6 @@ struct ContentView: View { 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 .frame(width: 400, height: 300, alignment: .center) - AnimatedImage(data: try! Data(contentsOf: URL(fileURLWithPath: "/tmp/foo.webp"))) } } }