UIPinchGestureRecognizer
extension UIPinchGestureRecognizer
-
A convenience initializer for a UIPinchGestureRecognizer so that it can be configured with a single line of code.
Declaration
Swift
public convenience init(handler: @escaping (_ gesture: UIPinchGestureRecognizer) -> Void)
Parameters
handler
The closure that is called when the gesture is recognized