nil*_*ils 5 swift ios13 xcode11
我目前正在尝试使用iOS 13 SDK,并尝试从其他视图中呈现出我的代码中的新视图。
在iOS 13之前,我一直使用:
self.present(self.storyboard?.instantiateViewController(withIdentifier: "Login") as! UIViewController, animated: true)
Run Code Online (Sandbox Code Playgroud)
为了它。
它仍在工作,并且显示了视图,但是显示为Modal,可以由用户关闭,这是不可能的。
我已经尝试过使用self.show()和modalPresentationStyle属性,但是结果总是相同的(参见图片)。

| 归档时间: |
|
| 查看次数: |
568 次 |
| 最近记录: |