How to render SVG images in iphone without uiwebview?

前端 未结 3 1413
粉色の甜心
粉色の甜心 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:41

    Jason Morrissey, author of the extremely excellent Alien Blue app, the best iOS Reddit client on the store (can you tell I'm a fan? I'm also a beta tester.) recently put up his SVGKit framework, which renders SVG images as Core Animation layers. I haven't used it, but I know it exists.

    And then, look... if you're just getting lots of errors when you bring in other people's classes, my strong suspicion is that you're not following their "how to use" instructions. They'll mostly tell you what frameworks are required and what platforms they support. Every time I've tried to use something like this and had a compilation bloodbath, I've gone back and found some installation instruction step I missed.

提交回复
热议问题