开发者

How to update reference of button's background images

开发者 https://www.devze.com 2023-03-01 08:45 出处:网络
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 o

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

精彩评论

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