📜  swift self.present 全屏 - Swift 代码示例

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

代码示例1
let vc = UIViewController()
vc.modalPresentationStyle = .fullScreen //or .overFullScreen for transparency
self.present(vc, animated: true, completion: nil)