Infinitely looping animation

前端 未结 1 1508
说谎
说谎 2021-02-09 07:58

I am trying to create an infinitely looping animation but am having some trouble. I am using this line of code the make my view \"throb\" red but when I call this line it works

1条回答
  •  北荒
    北荒 (楼主)
    2021-02-09 08:54

    Your options need to include UIViewAnimationOptionAllowUserInteraction. By default, UIView animations disable input while they're running.

    0 讨论(0)
提交回复
热议问题