加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

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

发布时间:2020-12-16 06:02:57 所属栏目:百科 来源:网络整理
导读:我想在iOS应用程序中以Adobe FXG文件格式(从闪存导出)或SVG格式显示图像. 有没有可以渲染矢量图形的Objective-C工具或库? (我不想将我的图像转换为位图格式!我想保持矢量格式) 解决方法 也许 SVGKit可以帮助: SVGKit is a cross-platform Cocoa framework
我想在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!

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读