Skip to content

tangbl93/AnimationDeamon

Repository files navigation

AnimationDeamon

Version License Platform

中文文档

Features

Prevent looping animation from being paused in the following situations:

  • UIApplication didEnterBackground
  • UIViewController viewDidDisappear

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

iOS 9.0+

Installation

CocoaPods

Simply add the following line to your Podfile:

pod 'AnimationDeamon'

Swift Package Manager

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.

Usage

AnimationDeamon.deamon(view: view) { (view) in
    // resume view animation
}

Author

tangbl93, [email protected]

License

AnimationDeamon is available under the MIT license. See the LICENSE file for more info.

About

Prevent animation being paused automatically

Resources

License

Stars

Watchers

Forks

Packages

No packages published