How to parse SVG path component to UIBezierPath using SVGKit in iOS?
问题 I am animating a SVG image in iOS using Swift. I have been able to render the SVG easily using SVGKit (https://github.com/SVGKit/SVGKit) but to animate it I need to convert the SVG path element to UIBezierPath. I can do so using other libraries but it'd be nice if I could do all of it using SVGKit alone. I haven't find any straight forward way to get the path element as well. 回答1: I had the same issues with Swift and using SVGKit. Even after following this simple tutorial and converting it to