ios - What are the implications of the higher dpi screen on the iPad 3 for assets? -
obviously apple released new ipad. far developers concerned, implications adding new assets support retina , non-retina displays across ipad models? same @2x model implemented on iphone 4 , 4s?
if have foo.png name call different size versions worked in universal app across ios devices?
it solved doing said, @2x device modifier, since have doubled number of pixels. writing myimage@2x~ipad.png.
applications running in ios 4 should include 2 separate files each image resource. 1 file provides standard-resolution version of given image, , second provides high-resolution version of same image. naming conventions each pair of image files follows:
standard: <imagename><device_modifier>.<filename_extension> high resolution: <imagename>@2x<device_modifier>.<filename_extension> the
<imagename>,<filename_extension>portions of each name specify usual name , extension file.<device_modifier>portion optional , contains either string~ipador~iphone. include 1 of these modifiers when want specify different versions of image ipad , iphone. inclusion of@2xmodifier high-resolution image new , lets system know image high-resolution variant of standard image.
Comments
Post a Comment