微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

objective-c – 在iOS中显示矢量图像(SVG或FXG)

我想在iOS应用程序中以Adobe FXG文件格式(从闪存导出)或SVG格式显示图像.
有没有可以渲染矢量图形的Objective-C工具或库?

(我不想将我的图像转换为位图格式!我想保持矢量格式)

解决方法

也许 SVGKit可以帮助:

SVGKit is a cross-platform Cocoa framework for rendering SVG files as Core Animation layers. All shapes are represented by instances of the CAShapeLayer class,and are,by design,animatable. SVGKit is compatible with the latest OS X and iOS SDK’s.

注意:现在我建议使用PaintCode

原文地址:https://www.jb51.cc/c/112873.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐