Image loads in simulator but not device?

一世执手 提交于 2019-12-14 01:43:40

问题


In Interface Builder, I have a UIImageView in a nib and have selected an image from the View Attributes pane. The image loads fine in the simulator but not on my device in debug mode. I don't get any errors. Just no image.

I can see the particular image in my Target's Copy Bundle Resources folder. Any ideas why it isn't showing on the device?


回答1:


A possible cause: Iphone file system is case sensitive and MacOS is not. Try to check your image file name.



来源:https://stackoverflow.com/questions/1853263/image-loads-in-simulator-but-not-device

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!