iOS Retina Display: Does "@2x" support 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,
DougAccording 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
精彩评论