📜  以编程方式推送视图控制器 swift 5 - Swift 代码示例

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

代码示例3
let storyBoard : UIStoryboard = UIStoryboard(name: "Main", bundle:nil)
let nextViewController = storyBoard.instantiateViewController(withIdentifier: "nextView") as! NextViewController
self.present(nextViewController, animated:true, completion:nil)