ios - load image by "imagenamed" method in xcode 6 -
ios - load image by "imagenamed" method in xcode 6 -
i sense should typical question, haven't found reply yet. i'm trying load image imagenamed method iphone, ipad, retina , non-retina. i'm doing
add 4 images image assets. (image_name~iphone.png
, image_name@2x~iphone.png
, image_name~ipad.png
, image_name@2x~ipad.png
) , set image set name "image_name". in code phone call [uiimage imagenamed:@"image_name"]
load different devices , resolutions. the problem edges of image distorted non-retina devices ipad mini , ipad 2. i'm thinking maybe not picking right image non-retina devices. there wrong naming conventions? suggestions welcome!
sorry interruption. ends problem of image.=p
ios
Comments
Post a Comment