Repeat count for UIView block-based animation

后端 未结 3 2363
误落风尘
误落风尘 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:39

    I just asked a similar question and then I read the 2010-11-15 release of the View Programming Guide for iOS. Page 64 caught my attention.

    In the animation block, one can still use the [UIView setAnimationRepeatCount:]. I thought that I could/should not. So my ability to read Apple doc needs to improve.

    So perhaps this would solve your (and my need). I'm trying it later today

提交回复
热议问题