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

iOS

Use background.png file download from treehouse

I have completed the course and built the app using an image i created myself from photoshop however i wanted to see how the animation looked on the app so downloaded the new files. Ive completely deleted the old files form the folder and uploaded the pictures provided by treehouse. Now when i run my app it still uses the old image to start then when you shake the device to show the predication the animation jumps slightly as the animation picture isnt the same as the one ive created? ive tried to re-write that part of the code but still to no avail?? Also when the image is loaded it almost looks like there is a gap on the right margin, a very thin white line?

Can any please tell me what i have done wrong?

2 Answers

Amit Bijlani
STAFF
Amit Bijlani
Treehouse Guest Teacher

Try clearing the cache:

From the menu: Xcode -> Product -> Clean

or

Shortcut: Shift + Command + K

Thanks! Worked perfectly!