Welcome to the Treehouse Community
Looking to learn something new?
In Swift, to go back from the secondViewController to the ViewController I would like to swipe from left to right, on the screen.
How do I do that?
Sebastien Thomas16,502 Points
Easiest thing is to embed your view controllers in a Navigation Controller and use a
push segue to navigation from VC1 to VC2 ; iOS automatically implements swipe navigation to go back to VC1.
Hope this helps