“Controlador Swift Pop View” Código de respuesta

Swift Pop a controlador de vista específico

let viewControllers: [UIViewController] = self.navigationController!.viewControllers
for aViewController in viewControllers {
    if aViewController is YourViewController {
        self.navigationController!.popToViewController(aViewController, animated: true)
    }
}
Aris G

Pop el controlador de vista Xcode

  navigationController?.popViewController(animated: true)
Dark Dingo

Controlador Swift Pop View

navigationController?.popViewController(animated: true)
Aris G

Respuestas similares a “Controlador Swift Pop View”

Preguntas similares a “Controlador Swift Pop View”

Más respuestas relacionadas con “Controlador Swift Pop View” en Swift

Explore las respuestas de código populares por idioma

Explorar otros lenguajes de código