开发者

Stretchable images @2x issue

I have both a "normal" sized image and an @2x image. It's a stretchable image and work开发者_开发技巧s fine on normal resolution, but on the retina display it doesn't work at all. The image is cut off and just looks odd. I've made sure the left cap width and top cap height of the @2x image is double that of the normal image (which is what I'm setting in code), but it doesn't work.

Can anyone run through how to create and set up a stretchable @2x image for retina displays?


Have you tried keeping the cap width the same? It’s probably in points, not pixels.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜