Repeated Animation
May 19, 2017
Use the following code snippet to create a repeated animation
Create Repeated Animation
Use the following code snippet to create a repeated animation
1 | // set original state |
Note that we should define this animation in viewWillAppear instead of viewDidLoad if we want to reuse the view and keep animation display on screen. Because animation will stopped once view gets disappear.
