SBGestureRecognizer

From iPhone Development Wiki
Revision as of 00:30, 29 September 2013 by Eswick (talk | contribs) (Created page with "SBGestureRecognizer is a skeleton class used by SpringBoard to recognize system-wide gestures. These gestures include multitasking gestures (iPad only) and the gesture to ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

SBGestureRecognizer is a skeleton class used by SpringBoard to recognize system-wide gestures. These gestures include multitasking gestures (iPad only) and the gesture to open Notification Center. SBGestureRecognizer in similar in many respects to UIGestureRecognizer, however, it is not a part of UIKit. Touch input is processed by backboardd, which must decide whether or not to forward the touch input to the current app, or to forward them to SpringBoard for processing by SBGestureRecognizer.

SBGestureRecognizer does not contain any initializers, and must be subclassed. As of iOS 6, there are only four subclasses of SBGestureRecognizer by default. These include:

- SBFluidSlideGestureRecognizer -> SBPanGestureRecognizer

- SBOffscreenSwipeGestureRecognizer

- SBScaleGestureRecognizer