Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //// Vladimir Zhelnov - neatek.pw - Web/iOS dev
- override func viewDidLoad() {
- let recognizer: UISwipeGestureRecognizer = UISwipeGestureRecognizer(target: self, action: #selector(self.swipeRight))
- recognizer.direction = .right
- self.view .addGestureRecognizer(recognizer)
- }
- func swipeRight() {
- print("Swipe")
- _ = navigationController?.popViewController(animated: true)
- //self.performSegueWithIdentifier("MySegue", sender: self)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement