objective c - iOS pictures 1x 2x 3x convert? -
i coded app, done if go images.xcassets, looks need 1x 2x , 3x pictures. tested app on iphone 6 , runs fine. pictures in 1x boxes.
( universal app ).
i guess if test on iphone 4 now, images big or other way, on ipad images small. think thats why need 1x 2x 3x, right?
could tell me, how 1x pictures converted 2x , 3x?
thanks help
those images different screen dpi. e.g. retina in iphone 4 use 2x images , retina in iphone 6 plus use 3x images, while 1x images used on old non-retina devices ipad 2.
if want use different sized image on iphone 5s , on iphone 6 need provide different asset , set in code.
Comments
Post a Comment