我可以在我的故事板的第二个视图上启动我的 iOS 应用程序并使用 Unwind Segue 吗?

Can I start my iOS app on the 2nd View of My Storyboard and use the Unwind Segue?

我的 Xcode 故事板中有两个视图:

登录屏幕 -> UITableView

是否可以启动我的应用程序,使 UITableView 成为第一个显示的屏幕,并有一个将用户带回登录屏幕的展开转场?

我目前可以在 App Delegate 中设置 self.window.rootViewController 来设置第一个屏幕,但是 none 的 unwind segues 工作。

这是我如何让它工作的 我必须确保我的登录屏幕有一个导航控制器,然后在登录屏幕的 .m 文件中我使用了以下代码:

SecondViewController *vc = [self.storyboard instantiateViewControllerWithIdentifier:@"SecondViewControllerStoryboardId"];
[self.navigationController pushViewController:vc animated:NO];

与其将第二个视图显式设置为 rootViewController,不如将其从第一个视图中的 viewDidload 方法中推送出来,然后尝试 unwind segues 它会起作用。