To respond to the pausing or resumption of UIKit dynamic animation, configure a custom class to adopt the
UIDynamicAnimatorDelegate protocol. Then, in a dynamic animator (an instance of the
UIDynamicAnimator class), set the delegate to be an instance of your custom class.
- iOS 8.0+
- tvOS 9.0+