开发者

Is there anything faster than UIView Animations?

开发者 https://www.devze.com 2022-12-16 10:54 出处:网络
Is there anything faster than UIView Animations? Mine are not keeping up, I want to play a series of images, very fast. (i.e 10 in 80 milliseconds)

Is there anything faster than UIView Animations? Mine are not keeping up,

I want to play a series of images, very fast. (i.e 10 in 80 milliseconds)

Any ideas?

As usual, greatly appreci开发者_Python百科ated.

Sam


If you are looking for a replacement for UIImageView's animationImages property, the second example on this page presents an alternative (as pointed out in this question).


Do you mean the UIImageView animation images? Do you want transitions between your images? If not, there is no reason to use UIView Animations.

Now to play frame-based animations, I would suggest using the UIImageView object and add your images in its animationImages array. Not sure it will keep up with the framerates you require of course, especially if the images are large.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号