iOS Swift 4 Coding

How navigate back to the previous view using Swift 4?

5 views August 29, 2018 August 30, 2018 bicobro 0

If you want to navigate back from the current view to the previous view in Swift code you can use the following code in anĀ UIViewController:

_ = navigationController?.popViewController(animated: true)

 

Was this helpful?