(I’m using xcode 4) I’m trying to add a button and give it an image or background image, so I put in the image through the attributes inspector. However when I test the app in simulator the button is just blank with no image.
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.
You should verify that the image is bundled with your app. Select the target, go to the Build Phases tab, and check that the image is located in the Copy Bundle Resources list. If it is not there, add it.