Reputation: 1817
I'm struggling with a problem that maybe someone can help me with. [slider setThumbImage:[UIImage imageNamed:@"circle_black.png"] forState:UIControlStateNormal];
The above code correctly displays the image in the ipad simulator, but not on the actual ipad device. I have had a look at other threads and have tried the following with no success: - lowercase letters (filenames are as shown, no capitals) - re-created the file in case it was corrupt - clean rebuild - seems to be in the bundle (build phases->copy bundle resources has this file listed)
my ipad is an ipad1, ios 5.
Any other suggestions I could try?
Upvotes: 0
Views: 142
Reputation: 989
It is possible that you have deleted image from the App, on simulator it can take reference of deleted images but not on device.
Upvotes: 0
Reputation: 886
@Jason,
Image name is Case-sensitive in IPhone/Ipad, whereas in simulator image name is not case-sensitive. Check it once.
Upvotes: 1
Reputation: 20021
May be the image is not properly added in the bundle.
things to do.
Upvotes: 0