更新时间:2023-10-12 15:46:16
为什么不让MainViewController成为应用程序的根视图控制器,并呈现如果您没有登录令牌,则在启动时以模态方式启用LoginViewController?
Why not make the MainViewController your app's root view controller, and present the LoginViewController modally upon launch if you don't have a login token?