📌  相关文章
📜  在 swift 5 中从另一个视图控制器重定向后,制作全视图视图控制器 - Swift 代码示例

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

代码示例1
let storyBoard: UIStoryboard = UIStoryboard(name: "TestDialog", bundle: nil)
let newViewController = storyBoard.instantiateViewController(withIdentifier: "AlrtDoalogTestViewController") as! AlrtDoalogTestViewController
let vc = UIViewController()
newViewController.modalPresentationStyle = .fullScreen
self.present(newViewController, animated:false, completion:nil)