Answers for "change view controller programmatically swift"

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
-1

go to view controller programmatically swift

let storyBoard : UIStoryboard = UIStoryboard(name: "Main", bundle:nil)
let nextViewController = storyBoard.instantiateViewController(withIdentifier: "nextView") as! NextViewController
self.present(nextViewController, animated:true, completion:nil)
Posted by: Guest on June-15-2020

Code answers related to "change view controller programmatically swift"

Code answers related to "Swift"

Browse Popular Code Answers by Language