“Push View Controller Programatáticamente Swift 5” Código de respuesta

Controlador Swift Push View

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 Programatáticamente Swift 5

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

Controlador Swift Push View mediante programación

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

Respuestas similares a “Push View Controller Programatáticamente Swift 5”

Preguntas similares a “Push View Controller Programatáticamente Swift 5”

Explore las respuestas de código populares por idioma

Explorar otros lenguajes de código