The foll. svg file contents unable to render using SVGView(contentsOf: bundleURL) returning nil in SwiftUI code
The same code works with other files.
The same file is rendered without issue using Gaplin (MacOS).
Unable to understand.
<ns0:svg xmlns:ns0="http://www.w3.org/2000/svg" xmlns:ns1="http://kanjivg.tagaini.net" width="109" height="109" viewBox="0 0 109 109">
<ns0:g id="kvg:StrokePaths_04e00" style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;">
<ns0:g id="kvg:04e00" ns1:element="一" ns1:radical="general">
<ns0:path id="kvg:04e00-s1" ns1:type="㇐" d="M11,54.25c3.19,0.62,6.25,0.75,9.73,0.5c20.64-1.5,50.39-5.12,68.58-5.24c3.6-0.02,5.77,0.24,7.57,0.49" />
</ns0:g>
</ns0:g>
</ns0:svg>
The foll. svg file contents unable to render using
SVGView(contentsOf: bundleURL)returning nil in SwiftUI codeThe same code works with other files.
The same file is rendered without issue using Gaplin (MacOS).
Unable to understand.
How to reproduce:
File contents: