“Push View Controller programaticamente Swift 5” Respostas de código

Swift Push View Controller

let vc = UIStoryboard.init(name: "Main", bundle: Bundle.main).instantiateViewController(withIdentifier: "IKDetailVC") as? IKDetailVC
self.navigationController?.pushViewController(vc!, animated: true)
Mobile Star

Push View Controller programaticamente Swift 5

let vc = LoginViewController(nibName: "LoginViewController", bundle: nil)
self.navigationController?.pushViewController(vc, animated: true)
Bored Beetle

Swift Push View Controller programaticamente

let storyBoard : UIStoryboard = UIStoryboard(name: "Main", bundle:nil)
let nextViewController = storyBoard.instantiateViewController(withIdentifier: "nextView") as! NextViewController
self.present(nextViewController, animated:true, completion:nil)
Repulsive Raccoon

Respostas semelhantes a “Push View Controller programaticamente Swift 5”

Perguntas semelhantes a “Push View Controller programaticamente Swift 5”

Procure respostas de código populares por idioma

Procurar outros idiomas de código