Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ethana

macrumors 6502a
Original poster
Jul 17, 2008
836
0
Seattle, WA
Ok... I have an UIImageView that is animated. It moves vertically from y at 40 down to 300:

Code:
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:0.5];
imvOne.frame = CGRectMake(imvOne.frame.origin.x, 300, imvOne.frame.size.width, imvOne.frame.size.height);
[UIView commitAnimations];

Animations run within their own thread, so how do I detect in my code when the UIImageView's location has reached y at 300? With a delegate? Which one and how? I need to perform an action when the UIImageView reaches certain points.

Thanks,

Ethan
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.