Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
JASON CHI
7,816 PointsBuild A Simple iPhone App - Stage 4 Background Issue
I replaced the background image with the one that says "Shake For Prediction" but it still shows the old background. I deleted the old background and added/copied over the new background images (copied to destination).
It's probably very simple but I'm not seeing it now. Any help would be great :)
10 Answers
Alex Hedley
16,381 PointsDid you set it IB and try a clean build?
J.T. Gralka
20,126 PointsJason,
Your issue could stem from a number of sources. Is there any way you could upload your Xcode project to Dropbox? I wouldn't mind checking it out to see if I can help you hunt down the culprit.
Best,
J.T.
JASON CHI
7,816 PointsI just looked again and the build is working but there actually 2 builds when I hit run. Anyone ideas why that's happening?
J.T. Gralka
20,126 PointsHmmm... Do you have another project running? ...or another instance of Xcode running somewhere?
Which builds are running? Does Xcode tell you which projects are compiling?
JASON CHI
7,816 PointsIt doesn't. I'm not going to worry about it now. As long as there are no bugs then it should be okay.
J.T. Gralka
20,126 PointsWere you able to get the right UIImage to display, or are you still having issues?
amy conlon
449 PointsI had this problem, i think someone else had it to and Amit Answered, with mine it was because there is still the old image in the storyboard, so if you delete that then it runs ok :)
JASON CHI
7,816 PointsHow do I find the old image in the storyboard? I don't see the old backgrounds in the media library when I click "MainStoryboard.storyboard."
Would it be something I need to change in the ViewController.m?
Russell Hill
493 PointsHi Jason
I was having the same issue - found this post which has a solution
http://teamtreehouse.com/forum/1st-crystal-ball-image-still-getting-called
It seems xcode retains a cache of the resources used in a project so you have to clean it out: Product -> Clean
Russell
JASON CHI
7,816 PointsThanks! It worked.