Common sense for gestures detection in iOS programming is to use UIGestureRecognizer class. Gestures you can detect are: tap, pinch, rotation, swipe, pan and long press. To define gesture recognizer you’ll have to use one of UIGestureRecognizer subclasses: UITapGestureRecognizer; UIPinchGestureRecognizer; UIRotationGestureRecognizer; UISwipeGestureRecognizer; UIPanGestureRecognizer; UILongPressGestureRecognizer. It’s possible to create dependencies between gesture recognizers and I’ll show […]
Read More