sounds like you're trying to do it UISwipeGestureRecgoniser
An example of this would be: perhaps it can be implemented: -
func handleMySwipes(sender: UISwipeGestureRecogniser) { if sender.direction == .Down { println("you swiped down") } if sender.direction == .Right { println("you swiped right") } if sender.direction == .Up { println("you swiped up") } if sender.direction == .Left { println("you swiped down") } override func viewDidLoad() {
source share