简体   繁体   中英

Core animation : Can you change the image during an animation?

I have some text which is an image. The image glows and sparkles etc over 10 frames(images).

I want to run some of the core animation tricks on this and have it grow in size and then fade. That works perfect when I just use the first image. But if i want to animate the image as the artist intended with its sparkles and glows I need to use all 10 frames(images) of the animation, so change the image during the animation. Is this possible? Are there any tricks to getting this to happen?

Many Thanks, -Code

If I'm reading your question correctly, you want to be able to perform multiple animations concurrently?

You can try using CAAnimationGroup.

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