Instance Property

directionalPressGestureRecognizer

The underlying gesture recognizer for directional button presses.

Declaration

@property(nonatomic, readonly) UIGestureRecognizer *directionalPressGestureRecognizer;

Discussion

The directionalPressGestureRecognizer is disabled by default. If you want to perform scrolling in direct response to up, down, left, and right arrow button presses, instead of scrolling indirectly in response to focus updates, enable this gesture recognizer.

See Also

Managing Touches

- touchesShouldBegin:withEvent:inContentView:

Overridden by subclasses to customize the default behavior when a finger touches down in displayed content.

- touchesShouldCancelInContentView:

Returns whether to cancel touches related to the content subview and start dragging.

canCancelContentTouches

A Boolean value that controls whether touches in the content view always lead to tracking.

delaysContentTouches

A Boolean value that determines whether the scroll view delays the handling of touch-down gestures.