开发者

Why doesn't my image load on device, but in the simulator?

I have an ImageView that has a background image that I set in IB. It appears fine in the simulator. When I run the app on my device, t开发者_开发问答he background image doesn't exist. How can I diagnose?


Usually this is because of case (in)sensitivity in the filesystem. On the simulator, the filesystem is case insensitive. Therefore, it will find files that you refer to even if they HaVe ThEiR CasE MixEd uP. The device filesystem will fail to find the file, however.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜