pop view controller xcode

  navigationController?.popViewController(animated: true)
Dark Dingo