Answers for "navigate to root view controller swift from present view controller"

1

swift go to root view controller

// For Navigation
self.navigationController?.popToRootViewController(animated: true)
// For Presenting modally
self.view.window!.rootViewController?.dismissViewControllerAnimated(false, completion: nil)
Posted by: Guest on March-04-2020

Code answers related to "navigate to root view controller swift from present view controller"

Code answers related to "Swift"

Browse Popular Code Answers by Language