Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Can someone please confirm/deny whether the iPhone retina display supports the "@2x" filename scheme for jpeg as well as png?

Thanks,
Doug

like image 541
dugla Avatar asked Aug 31 '11 13:08

dugla


2 Answers

yes it does. No difference on that.

like image 37
Mobile Developer Avatar answered Sep 18 '22 01:09

Mobile Developer


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.

like image 51
Tomas McGuinness Avatar answered Sep 20 '22 01:09

Tomas McGuinness