iphone - App images in high resolution screen -


in app,i decide suport high resolution screen(iphone4 , later),so there question:

  1. does necessary provider high resolution screen image(the @2x image)? if not, how should name image, a.png or a@2x.png?

  2. if provider high resolution screen image(the @2x image), image named a@2x.png, should use '[uiimage imagenamed:@"a"];' or [uiimage imagenamed:@"a@2x"]? when in storyboard, should use a.png or a@2x.png?

here solution questions:

-> necessary provider high resolution screen image(the @2x image)? if not, how should name image, a.png or a@2x.png?

sol: yes, have provide high resolution screen image double original image name orignalimage@2x.png. suppose image name a.png(20x20pixels), high resolution have give name a@2x.png(40x40pixels).

-> if provider high resolution screen image(the @2x image), image named a@2x.png, should use '[uiimage imagenamed:@"a"];' or [uiimage imagenamed:@"a@2x"]? when in storyboard, should use a.png or a@2x.png?

sol: have give [uiimage imagenamed:@"a.png"];.

hope solves problems.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

qt - Errors in generated MOC files for QT5 from cmake -