addCompletion(_:)
Adds an animation completion block to run when a view animation has ended.
Declaration
func addCompletion(_ completion: @escaping (UIViewAnimatingPosition) -> Void)Parameters
- completion:
A block that sets animatable view properties.