Check out example codes for "swift push view controller". It will help you in understanding the concepts better.
Code Example 1
let vc = UIStoryboard.init(name: "Main", bundle: Bundle.main).instantiateViewController(withIdentifier: "IKDetailVC") as? IKDetailVC
self.navigationController?.pushViewController(vc!, animated: true)
Learn ReactJs, React Native from akashmittal.com