SVG images in an iPhone application(iPhone 应用程序中的 SVG 图像)
问题描述
我正在寻找一个可以帮助我在 iphone 应用程序中使用 svg 图像的小教程.我正在尝试了解 svg 格式,并且很想知道那里是否有来自苹果的相关材料?特别是,w.r.t.iPhone.
I'm looking for a small tutorial that can help me use svg images in iphone application. I'm trying to learn about svg format, and would love to know if there is relevant material from apple out there? particularly, w.r.t. iPhone.
iPhone SDK 3.0+ for SVG 中是否有任何开源库或框架?
Are there any open source libraries, or frameworks in iPhone SDK 3.0+ for SVG?
感谢任何帮助.谢谢.穆斯塔法
Any help is appreciated. Thanks. Mustafa
推荐答案
UIWebView 类将呈现 SVG 文件.
为了演示这一点,请将您的 SVG 文件放在网络上的某个位置,然后使用 Mobile Safari 进行查看.
To demonstrate this, put your SVG file on the web somewhere and view it with Mobile Safari.
如果您需要有关如何使用 UIWebView 的教程,请在 Google 上搜索UIWebView 教程".
If you need a tutorial on how to use UIWebView, search Google on "UIWebView tutorial".
这篇关于iPhone 应用程序中的 SVG 图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:iPhone 应用程序中的 SVG 图像
基础教程推荐
- 如何将图像从一项活动发送到另一项活动? 2022-01-01
- Xcode UIView.init(frame:) 只能在主线程中使用 2022-01-01
- UIImage 在开始时不适合 UIScrollView 2022-01-01
- SwiftUI-ScrollViewReader的ScrollTo不滚动 2022-01-01
- Android Volley - 如何动画图像加载? 2022-01-01
- 如何比较两个 NSDate:哪个是最近的? 2022-01-01
- 为什么姜饼模拟器方向卡在应用程序中? 2022-01-01
- navigationItem.backBarButtonItem 不工作?为什么上一个菜单仍然显示为按钮? 2022-01-01
- Play 商店的设备兼容性问题 2022-01-01
- iOS - UINavigationController 添加多个正确的项目? 2022-01-01
