From iPhone Development Wiki
Revision as of 03:03, 29 September 2013 by Britta (talk | contribs) (adding navbox)
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.[1]

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