Repeating and reversing an animation multiple times using UIViewPropertyAnimator
问题 I am trying to have my animation ease the screen from black to white to black again and repeat that a certain amount of times. Currently with the code I have the animation eases from black to white then jumps back to black. Is there anyway to run an animation in reverse or add an animation that runs after the first animation is completed? override func viewDidAppear(_ animated: Bool) { let viewColorAnimator: UIViewPropertyAnimator = UIViewPropertyAnimator.runningPropertyAnimator( withDuration