📌  相关文章
📜  快速转到根视图控制器 - Swift 代码示例

📅  最后修改于: 2022-03-11 15:01:02.244000             🧑  作者: Mango

代码示例1
// For Navigation
self.navigationController?.popToRootViewController(animated: true)
// For Presenting modally
self.view.window!.rootViewController?.dismissViewControllerAnimated(false, completion: nil)