osx - Retina issue (OS X) -


i creating cocoa app, , when import @2x images project, no image shows in app @ all. using non-retina macbook pro.

if have image, such image.png, shows correctly.

when import image@2x.png project, no image shows when app run (even normal image).

when change image@2x.png image@2xx.png (or other name), image shows again. however, can't show image on retina device.

am not handling retina images correctly?

you need include image.png , image@2x.png in project. make sure when load files not include .png extension.


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -