Reputation: 1307
I'm new to Titanium Studio. I put all images(png format) in Images directory inside Resources folder (Resources\Images).
When I set the image of an ImageView by mentioning the image name with path like given below,
var image = Ti.UI.createImageView({Image: 'Images/myimage.png', top: 20, height: 100, width: 100, left: 30});
I saw that it works fine in emulator, but not in my device. When I tested the same code in Iphone Simulator and IPod touch, it worked fine. Can anybody help me. Thanks in advance.
Upvotes: 1
Views: 982
Reputation: 4164
The simulator is not case-sensitive when it comes to file names, but the device is - make sure it's nothing to do with case.
Upvotes: 2