A swipe motion takes place when a finger try moved over the screen in a horizontal or straight way, and it is typically familiar with begin navigation through information.

A swipe motion takes place when a finger try moved over the screen in a horizontal or straight way, and it is typically familiar with begin navigation through information.

The rule instances in this essay tend to be obtained from the Swipe motion test.

To produce a see accept a swipe motion, make a SwipeGestureRecognizer instance, put the Direction homes to a SwipeDirection enumeration price ( leftover , best , upwards , or Down ), optionally set the Threshold residential property, deal with the Swiped show, and create the brand new gesture recognizer towards the GestureRecognizers collection on the view. (altro…)

Continua a leggere