Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在UIImageView. 图像不以 .PNG 格式显示UIImageView,但显示的是 .PNG 格式的图像。
UIImageView
那么,如何使用 .EPS、.SVG 或 .WMF 格式的图像呢?
EPS,SVG并且WMF不受 支持UIImage,因此您将不得不使用第三方库来加载这些文件。
EPS
SVG
WMF
UIImage
因为SVG你可以使用SVGKit,它包含了一些关于如何使用这个库的好例子。