简体   繁体   中英

Image loads in simulator but not device?

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?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM