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