你这样做
let hostingController = UIHostingController(rootView: MyModalView()
self.present(hostingController, animated: true, completion: nil)
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
2431 次 |
最近记录: |