Skip to content

Instantly share code, notes, and snippets.

@mczachurski
Last active January 21, 2018 17:14
Show Gist options
  • Save mczachurski/1274e432b9aae98048c55e1c3e45577e to your computer and use it in GitHub Desktop.
Save mczachurski/1274e432b9aae98048c55e1c3e45577e to your computer and use it in GitHub Desktop.
let twoFingersGestureReognizer = TwoFingersGestureRecognizer(target: self, action: #selector(twoFingersGestureRecognizer))
twoFingersGestureReognizer.cancelsTouchesInView = false
twoFingersGestureReognizer.delegate = self
self.view.addGestureRecognizer(twoFingersGestureReognizer)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment