Prevent looping animation from being paused in the following situations:
- UIApplication didEnterBackground
- UIViewController viewDidDisappear
To run the example project, clone the repo, and run pod install
from the Example directory first.
iOS 9.0+
Simply add the following line to your Podfile:
pod 'AnimationDeamon'
To add a package dependency to your Xcode project, select File > Swift Packages > Add Package Dependency and enter https://github.com/tangbl93/AnimationDeamon.git to the text field.
AnimationDeamon.deamon(view: view) { (view) in
// resume view animation
}
tangbl93, [email protected]
AnimationDeamon is available under the MIT license. See the LICENSE file for more info.