开发者

iOS Retina Display: Does "@2x" support jpeg as well as png?

开发者 https://www.devze.com 2023-04-01 05:34 出处:网络
Can someone please confirm/deny whether the iPhone retina display suppo开发者_开发百科rts the \"@2x\" filename scheme for jpeg as well as png?

Can someone please confirm/deny whether the iPhone retina display suppo开发者_开发百科rts the "@2x" filename scheme for jpeg as well as png?

Thanks,

Doug


According to Apple's documentation

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

UIImage supports JPEGs and also automatically applies the @2 name modifier when running on a device with Retina display.


yes it does. No difference on that.


Yes, they can, as UIImage itself supports the jpeg file format, as listed in a table at the top here: http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIImage_Class/Reference/Reference.html

0

精彩评论

暂无评论...
验证码 换一张
取 消