UIView animation options using Swift

后端 未结 3 1441
傲寒
傲寒 2021-01-31 02:17

How do I set the UIViewAnimationOptions to .Repeat in an UIView animation block:

UIView.animateWithDuration(0.2, delay:0.2         


        
3条回答
  •  滥情空心
    2021-01-31 03:08

    Swift 5

    UIView.animate(withDuration: 0.2, delay: 0, options: UIView.AnimationOptions.curveEaseInOut, animations: {}, completion: nil)
    

提交回复
热议问题