Is there a method to go back one view in the stack on a UINavigationController
? Or to a view with a specific title?
Swift 3 version
navigationController?.popViewController(animated: true)
To pop to a specific view controller, you use:
navigationController?.popToViewController(controller, animated: true)
You will have to iterate through the list of view controllers first and check the title against what you're looking for and pass that to this method.