iPhone以编程方式找到ios支持的图像格式 [英] iPhone find image format supported by ios programmatically

查看:64
本文介绍了iPhone以编程方式找到ios支持的图像格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以告诉我如何以编程方式在iPhone SDK中找到iOS支持的图像格式吗?

Can any one tell me how to programmatically find the image formats supported by iOS in the iPhone SDK?

推荐答案

文档列出了支持的图像格式.

The docs list the supported image formats.

https://developer.apple.com/library/ios/#documentation/uikit/reference/UIImage_Class/Reference/Reference.html

Tagged Image File Format (TIFF) .tiff, .tif 
Joint Photographic Experts Group (JPEG) .jpg, .jpeg  
Graphic Interchange Format (GIF) .gif 
Portable Network Graphic (PNG) .png 
Windows Bitmap Format (DIB) .bmp, .BMPf 
Windows Icon Format .ico 
Windows Cursor .cur
XWindow bitmap .xbm

这篇关于iPhone以编程方式找到ios支持的图像格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆