Repeat count for UIView block-based animation

后端 未结 3 2348
误落风尘
误落风尘 2021-02-19 22:15

I\'ve looked at the methods for block based animation and noticed there is no equivalent parameter or option for [UIView setAnimationRepeatCount:].

What\'s

3条回答
  •  逝去的感伤
    2021-02-19 22:55

    As @PommeOuest mentioned. You can still user [UIView setAnimationRepeatCount:] inside the animation block. I just tried in my project and it works well.

    I'm using XCode4 and iOS5.

提交回复
热议问题