You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import SwiftUI
import SVGView
structContentView:View{@Stateprivatevardata:Data?varbody:someView{
if let data {SVGView(data: data)}else{Color.black.opacity(0.001).task{
if let(data, _)=try?awaitURLSession.shared.data(from:URL(string:"https://img.shields.io/cocoapods/l/SVGView.svg?style=flat")!){self.data = data
}}}}}
I use the one in your README.md file, and this is( I guess ) a SVG, but SVGView can only show the background but no text on it.
The text was updated successfully, but these errors were encountered:
My Code here:
I use the one in your README.md file, and this is( I guess ) a SVG, but SVGView can only show the background but no text on it.
The text was updated successfully, but these errors were encountered: