Changes

Jump to: navigation, search

Identifying Gestures using iOS 9 Gesture Recognizers

16 bytes removed, 20:34, 1 February 2016
m
Text replacement - "<google>BUY_IOS9</google>" to "<htmlet>ios9</htmlet>"
<googlehtmlet>BUY_IOS9ios9</googlehtmlet>
Each gesture action method is passed as an argument a UIGestureRecognizer sender object which may be used to extract information about the gesture. For example, information about the scale factor and speed of a pinch gesture may be obtained by the action method. Similarly, the action method assigned to a rotation gesture recognizer may ascertain the amount of rotation performed by the user and the corresponding velocity.
<googlehtmlet>BUY_IOS9ios9</googlehtmlet>
== Recognizing Tap Gestures ==
* UISwipeGestureRecognizerDirection.Down
<googlehtmlet>BUY_IOS9ios9</googlehtmlet>
Note that when programming in swift, the above constants may be abbreviated to .Right, .Left, .Up, and .Down.
<googlehtmlet>BUY_IOS9ios9</googlehtmlet>

Navigation menu