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 Build a Simple iPhone App (iOS7) Animating and Intercepting Events Image Based Animation

Continues Animation

So the animation only works with the first string, how to make it repeatable with every click ?!

2 Answers

Stone Preston
Stone Preston
42,016 Points

it should be repeatable with every click. Something must not be quite right with your code, mind posting the relevant snippets?

OK, my bad sorry, i forgot to add a line of code to the buttonPressed method which i was using in the simulator. It was to set alpha to 0.

Sorry for the trouble.

Stone Preston
Stone Preston
42,016 Points

no worries, glad you figured it out