(iphone) can i give different intervals between images when animating?

Posted by Eugene on Stack Overflow See other posts from Stack Overflow or by Eugene
Published on 2011-01-02T15:36:00Z Indexed on 2011/01/02 15:54 UTC
Read the original article Hit count: 169

Filed under:
|
|

Hi, I'm animating several image as follows.

     UIImageView* animationView = [[UIImageView alloc] initWithFrame: self.animationViewContainer.bounds];
    animationView.animationImages = animationArray;
    animationView.animationDuration = 0.5;
    animationView.animationRepeatCount = 5;
    [animationView startAnimating];

What I'd like to do is, controlling duration between animationImages.
For instance, show image1 for 0.3 sec image2 for 0.5 sec..

There must be some way to do this, but hard to find an answer.
I've asked the same question here before, but wording of the question wasn't so clear.

Thank you

© Stack Overflow or respective owner

Related posts about iphone

Related posts about animation