iphone Programming Glossary: longpressgesturerecognizer
Is it possible to differentiate between a long press and a tap on a button? http://stackoverflow.com/questions/4464649/is-it-possible-to-differentiate-between-a-long-press-and-a-tap-on-a-button example I subclassed UIButton and added the following method for specifying a long touch action to go along with a tap longPressGestureRecognizer is an instance variable void setLongTouchAction SEL newValue if newValue NULL self removeGestureRecognizer longPressGestureRecognizer.. is an instance variable void setLongTouchAction SEL newValue if newValue NULL self removeGestureRecognizer longPressGestureRecognizer longPressGestureRecognizer release longPressGestureRecognizer nil else longPressGestureRecognizer release longPressGestureRecognizer.. void setLongTouchAction SEL newValue if newValue NULL self removeGestureRecognizer longPressGestureRecognizer longPressGestureRecognizer release longPressGestureRecognizer nil else longPressGestureRecognizer release longPressGestureRecognizer nil longPressGestureRecognizer..
|