IOS Retina Display: does "@ 2x" support jpeg as well as png?

Can someone confirm or deny whether the iPhone retina screen supports the "@ 2x" scheme for jpeg, as well as png?

Thanks,
Doug

+6
source share
3 answers

According to Apple documentation

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

UIImage supports JPEG, and also automatically applies the @ 2 name modifier when working on a device with a Retina display.

+8
source

Yes Yes. No difference in that.

+3
source

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

+2
source

Source: https://habr.com/ru/post/896322/


All Articles