I want pass value to my viewcontroller and keep my navigation flow.
I have created navigationController which opening my PostJobVC.
When I am calling this it's working but navigation not working.
let vc : PostJobVC = UIStoryboard.instantiateController(forModule: SFStoryBoard.job)
vc.history = history
self.navigationController?.present(vc, animated: true, completion: nil)
For that reason I am opening navigationController (name is jobnav)
let storyboard = UIStoryboard(name: SFStoryBoard.job.rawValue, bundle: nil)
let controller = storyboard.instantiateViewController(withIdentifier: "JobNav")
self.present(controller, animated: true, completion: nil)
How could I pass history object to PostJobVC through JobNav automatically.