I have two classes, ChargeCustomer
and TwelvethViewController
.
In TwelvethViewController I have a func goNextView()
which should pe
You have to instantiated the storyBoard that you want then the TwelvethViewController and finally you can push. Like this:
let storyBoard = UIStoryboard(name: "youStoryBoard", bundle: nil)
let vc = storyboard?.instantiateViewController(withIdentifier: "youVCIndentifier") as! TwelvethViewController
self.navigationController?.pushViewController(vc, animated: true)