I\'m working on app for blind people first i needed to use swipe gesture and after search i can do it by using
override func accessibilityScroll( direction
Add this to your code
overrride func viewDidLoad() { super.viewDiDLoad() let tap = UITapGestureRecognizer(target: self, action: "performTap") self.view.addGestureRecognizer(tap) }
And to perform the necessary action, add your required code here
func performTap() { // Perform you action here }