【发布时间】:2020-11-24 20:30:17
【问题描述】:
我正在尝试在用户登录(或之前已登录)时显示主屏幕。正在显示主屏幕,但以模态方式显示。如何正常显示?
例子:
if UserDefaults.standard.string(forKey: "appleAuthorizedUserIdKey") != nil {
// move to main view
performSegue(withIdentifier: "LogIn", sender: nil)
并且 segue 类型在情节提要中设置为“显示”。谢谢。
【问题讨论】:
标签: ios swift uiviewcontroller uinavigationcontroller uikit