SBGestureRecognizer: Difference between revisions

From iPhone Development Wiki
(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 ...")
 
No edit summary
Line 1: Line 1:
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 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. <ref>https://ghostbin.com/paste/sgde8</ref>


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:
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:
Line 8: Line 8:


- '''SBScaleGestureRecognizer'''
- '''SBScaleGestureRecognizer'''
== References ==
<references/>

Revision as of 02:27, 29 September 2013

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

References