简体   繁体   中英

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM