How to render SVG images in iphone without uiwebview?

前端 未结 3 1412
粉色の甜心
粉色の甜心 2020-12-14 19:17

I want to render SVG images in iPhone without using a UIWebView. How can I do that?

I have checked these 2 links:

http://www.splashdust.net/2010/09/svgquartz

3条回答
  •  一整个雨季
    2020-12-14 19:50

    I just managed to compile SVGFlashRenderer. For iOS you need to open the project from the directory SVGRendererTouch. And don't forget to separately download contents of the lib/MROGeometry dir from github (just follow the link in the source tree).

    P.S. For me, the best working solution was SVGKit, but not the version from Jason Morissey (mentioned in another answer), but a fork from reklis. It has many bugs fixed and works in a much more correct way.

提交回复
热议问题