In my iOS application, i have some images, when running the app on simulator, images are displayed but when running it on iPod, the images are not displayed. what is the reason? tell me please…
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
99% chance of occurrence of this issue is due to the filenames. YOU MUST USE THE EXACT FILENAME (CONSIDERING UPPER/LOWER CASE OF ALPHABETS) IN YOUR CODE AS IT IS IN YOUR RESOURCES.
e.g. in resources you have “MyImage.png” if you specify
[UIImage imageNamed:@"myimage.png"];it will work on simulator – no problems but it will not work on device. for device, you must use[UIImage imageNamed:@"MyImage.png"];to make it work.Best of luck!!