Swift Pop To Specific View Controller

[Solved] Swift Pop To Specific View Controller | Swift - Code Explorer | yomemimo.com
Question : swift pop to specific view controller

Answered by : aris-g

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

Source : https://stackoverflow.com/questions/30003814/how-can-i-pop-specific-view-controller-in-swift | Last Update : Thu, 11 Jun 20

Question : swift pop view controller

Answered by : aris-g

navigationController?.popViewController(animated: true)

Source : | Last Update : Wed, 10 Jun 20

Answers related to swift pop to specific view controller

Code Explorer Popular Question For Swift