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
Here is how I get the viewBox dynamically from the SVG @changelee82. It's probably not the most performant solution but it works for me. Thankfully the viewBox attribute should appear very early on in the SVG source.
Hello! I create a UIImageView extension, but SVG layer is not center.
I found that the file contained viewBox="0 0 100 100", So I tried to add a line of code.
`
`
How to center other SVG layer?
I want to get the viewBox in svg file to setting boundingBox of svgLayer.
The text was updated successfully, but these errors were encountered: