addTapGestureWithHandler:
Add a UITapGesture
with a callback handler.
- (UITapGestureRecognizer *)addTapGestureWithHandler:(void ( ^ ) ( UIGestureRecognizer *sender ))block
Parameters
- block
The callback handler.
Declared In
UIView+GestureRecognizerBlock.h
addTapGestureWithTarget:action:
Add a UITapGesture
with a target and action.
- (UITapGestureRecognizer *)addTapGestureWithTarget:(id)target action:(SEL)action
Parameters
- target
The target.
- action
The action.
Declared In
UIView+GestureRecognizerBlock.h