I have a Navigation Controller with a View Controller displaying a button. The button is linked to another View Controller using a push segue which automatically adds a top navi
In Swift it would be calling the method
self.navigationController?.popViewControllerAnimated(true)