My first view controller has a button, which triggers the @IBAction goTo2ndVc()
which presents a second ViewController:
class FirstVC: UIViewCon
If you want to return to the previous view controller, you can simply add:
[self dismissViewControllerAnimated:YES completion:nil];
to the button action method.
If this is added on the nav view controller present on every screen, I see no reason why it shouldn't work as it would always dismiss the most recently presented view.