Package | Description |
---|---|
crossmobile.ios.uikit |
Modifier and Type | Class and Description |
---|---|
class |
UILongPressGestureRecognizer
UILongPressGestureRecognizer class extends UIGestureRecognizer and recognizes
series of touches as long press gestures.This happens only after an extended
touch of the screen with one or more fingers.
|
class |
UIPanGestureRecognizer
UIPanGestureRecognizer class recognizes series of touches as a pan gesture.
|
class |
UIPinchGestureRecognizer
UIPinchGestureRecognizer class extends UIGestureRecognizer and recognizes
pinch gestures when two fingers touching the screen get near or move away
translated to zoom in and zoom out respectively.
|
class |
UIRotationGestureRecognizer
UIRotationGestureRecognizer class extends UIGestureRecognizer and recognizes
rotation gestures when two fingers touch the screen and move in opposite
directions formulating a circle.
|
class |
UISwipeGestureRecognizer
UISwipeGestureRecognizer class extends UIGestureRecognizer and recognizes a
swipe gesture in one or more directions.
|
class |
UITapGestureRecognizer
UITapGestureRecognizer class recognizes a series of taps as a gesture.
|
Modifier and Type | Method and Description |
---|---|
List<UIGestureRecognizer> |
UIView.gestureRecognizers()
Returns a list with the gesture recognizer objects that are connected to
this view.
|
Modifier and Type | Method and Description |
---|---|
void |
UIView.addGestureRecognizer(UIGestureRecognizer gesture)
Connects a gesture recognizer to this view.
|
boolean |
UILongPressGestureRecognizer.canBePreventedByGestureRecognizer(UIGestureRecognizer preventing) |
boolean |
UIPanGestureRecognizer.canBePreventedByGestureRecognizer(UIGestureRecognizer preventing) |
boolean |
UISwipeGestureRecognizer.canBePreventedByGestureRecognizer(UIGestureRecognizer preventing) |
boolean |
UIPinchGestureRecognizer.canBePreventedByGestureRecognizer(UIGestureRecognizer preventing) |
boolean |
UIRotationGestureRecognizer.canBePreventedByGestureRecognizer(UIGestureRecognizer preventing) |
abstract boolean |
UIGestureRecognizer.canBePreventedByGestureRecognizer(UIGestureRecognizer preventing)
Override this method so that the specified UIGestureRecognizer prevents
this UIGestureRecognizer from recognizing a gesture.
|
boolean |
UITapGestureRecognizer.canBePreventedByGestureRecognizer(UIGestureRecognizer newMaster) |
boolean |
UILongPressGestureRecognizer.canPreventGestureRecognizer(UIGestureRecognizer preventing) |
boolean |
UIPanGestureRecognizer.canPreventGestureRecognizer(UIGestureRecognizer preventing) |
boolean |
UISwipeGestureRecognizer.canPreventGestureRecognizer(UIGestureRecognizer preventing) |
boolean |
UIPinchGestureRecognizer.canPreventGestureRecognizer(UIGestureRecognizer preventing) |
boolean |
UIRotationGestureRecognizer.canPreventGestureRecognizer(UIGestureRecognizer preventing) |
abstract boolean |
UIGestureRecognizer.canPreventGestureRecognizer(UIGestureRecognizer preventing)
Override this method so that this UIGestureRecognizer prevents the
specified UIGestureRecognizer from recognizing a gesture.
|
boolean |
UITapGestureRecognizer.canPreventGestureRecognizer(UIGestureRecognizer newSlave) |
void |
UIView.removeGestureRecognizer(UIGestureRecognizer gesture)
Disconnects a gesture recognizer from this view.
|
void |
UIGestureRecognizer.requireGestureRecognizerToFail(UIGestureRecognizer other)
Connects this UIGestureRecognizer with corresponding that is passed as
parameter.
|
default boolean |
UIGestureRecognizerDelegate.shouldBegin(UIGestureRecognizer recognizer)
Returns a Boolean (default true) that indicates whether the beginning of
touch interpretation by the gesture recognizer is permitted.
|
default boolean |
UIGestureRecognizerDelegate.shouldReceiveTouch(UIGestureRecognizer recognizer,
UITouch touch)
Returns a Boolean (default true) that indicates whether the gesture
recognizer is permitted to receive an object that represents a touch.
|
default boolean |
UIGestureRecognizerDelegate.shouldRecognizeSimultaneouslyWithGestureRecognizer(UIGestureRecognizer recognizer,
UIGestureRecognizer otherGestureRecognizer)
Returns a Boolean (default true) that indicates whether the concurrent
recognition of two gestures is permitted.
|
Modifier and Type | Method and Description |
---|---|
void |
UIGestureRecognizer.addTarget(NSSelector<UIGestureRecognizer> target)
Adds the target defined as parameter to this UIGestureRecognizer.
|
void |
UIGestureRecognizer.removeTarget(NSSelector<UIGestureRecognizer> target)
Removes the target defined as parameter from this UIGestureRecognizer.
|
void |
UIView.setGestureRecognizers(List<UIGestureRecognizer> gestureRecognizers)
Connects a list of gesture recognizers to this view.
|
Constructor and Description |
---|
UIGestureRecognizer(NSSelector<UIGestureRecognizer> target)
Constructs a UIGestureRecognizer and associates it with the specified
target.
|
UILongPressGestureRecognizer(NSSelector<UIGestureRecognizer> target)
Constructs a new UILongPressGestureRecognizer object and attaches it to
the specified UIGestureRecognizer.
|
UIPanGestureRecognizer(NSSelector<UIGestureRecognizer> target)
Constructs a new UIPanGestureRecognizer object and attaches it to the
specified UIGestureRecognizer.
|
UIPinchGestureRecognizer(NSSelector<UIGestureRecognizer> target)
Constructs a new UIPinchGestureRecognizer object and attaches it to the
specified UIGestureRecognizer.
|
UIRotationGestureRecognizer(NSSelector<UIGestureRecognizer> target)
Constructs a UIRotationGestureRecognizer and connects is with the
specified UIGestureRecognizer.
|
UISwipeGestureRecognizer(NSSelector<UIGestureRecognizer> target)
Constructs a UISwipeGestureRecognizer and associates it with the
specified target.
|
UITapGestureRecognizer(NSSelector<UIGestureRecognizer> target)
Constructs new UITapGestureRecognizer and attaches it to the specified
UIGestureRecognizer.
|
Copyright © 2020. All rights reserved.