开发者

Image loads in simulator but not device?

开发者 https://www.devze.com 2022-12-13 12:49 出处:网络
In Interface Builder开发者_如何学JAVA, 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

In Interface Builder开发者_如何学JAVA, 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?


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

0

精彩评论

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

关注公众号