[iPhone] CAKeyframeAnimation
[iPhone] CAKeyframeAnimation
- Subject: [iPhone] CAKeyframeAnimation
- From: Sven <email@hidden>
- Date: Wed, 12 Aug 2009 14:17:40 +0000 (UTC)
Hello,
I'm using this solution
http://www.cocoabuilder.com/archive/message/cocoa/2008/8/3/214715 to
animate a sequence of images in a flipbook style.
It works fine on the simulator but on the device it's REALLY slow. If I
set the duration to less than 5 seconds (for 25frames) the animation
doesn't even play and I end up at the last frame after a pause on the
previous screen.
I have 25 frames each consisting of 376x540 pngs which are loaded in
before I start the animation. They are loaded into an array using
imageWithContentsOfFile.
I notice that the addAnimation call to add the animation to the CALayer is
taking quite a long time.
Am I reaching the limits of capability by using this number of images at
this size, or is there something else I should consider?
Or perhaps a different approach to flip book these images?
Thanks
./Sven
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden