开发者

How to update reference of button's background images

I want to update my application's button's background images. It is working fine in simulator if I clean build first. But, when I try to load in iPhone, I am getting old images, instead of updated onces.

Tha开发者_开发问答nks.


When you use images in your iPhone app:

  1. Always clean and clean all targets before building if your images have changed.
  2. Make sure that the path you provide for the image has the correct case (builds for iphone simulator are case insensitive but not so for iphone device builds).
    [For example: if you have an image named Image.png; Code that uses "image.png" will work on the iphone simulator but not the device]
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜