enter image description here私はイメージを左から右に素早く移動する方法は?
ivImageLoadingInside.center = CGPoint(x: 25, y: 0)
UIView.animate(withDuration: 2, delay: 0, options: .repeat, animations: {
self.ivImageLoadingInside.center = CGPoint(x: 80, y: 0)
}, completion: nil)
が、常にが途中で停止する...ということでした。
Here is the image with the animation
助けてくれてありがとう! –