Answers for "how to push view controller from present view controller swift"

1

swift push view controller

let vc = UIStoryboard.init(name: "Main", bundle: Bundle.main).instantiateViewController(withIdentifier: "IKDetailVC") as? IKDetailVC
self.navigationController?.pushViewController(vc!, animated: true)
Posted by: Guest on March-04-2020
0

push view controller programmatically swift 5

let vc = LoginViewController(nibName: "LoginViewController", bundle: nil)
self.navigationController?.pushViewController(vc, animated: true)
Posted by: Guest on June-27-2021

Code answers related to "how to push view controller from present view controller swift"

Code answers related to "Swift"

Browse Popular Code Answers by Language