Использование распознавателя жестов Swipe Swift

@IBAction func swipeHandler(_ gestureRecognizer : UISwipeGestureRecognizer) {
    if gestureRecognizer.state == .ended {
        // Perform action.
    }
}
Yellow Billed Hornbill