简体   繁体   中英

(iphone sdk) When I use CGAffineTransform (such as CGAffineTransformMakeTranslation) does that actually “move” the frame?

Or does it just change where it's rendered? I have performed this transform and I think the object's frame's origin's y position stays the same.

I think what happens is that it just renders the frame in a different position. That's why the position values don't change.

Also, to have something occur after the animation, I will use a timer to run a piece of code after the animation.

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