polyclick
polyclick

Reputation: 2703

UIView Block Animation Update Interval

Is there some kind of update event when a block animation is animating? I'd like to check the frame bounds on every animation update to check if my uiview reached a certain position.

Upvotes: 2

Views: 663

Answers (1)

tipycalFlow
tipycalFlow

Reputation: 7644

You can accomplish this by using animation blocks. Instead of updates, though, you'll have an "instructions block" that runs when an animation completes. Take a look at this SOF question: Multistage animation using blocks

Upvotes: 1

Related Questions