【发布时间】:2018-10-12 15:14:32
【问题描述】:
在我的 AppDelegate 的 applicationWillEnterForeground(_:) 方法中,我正在启动一个特定的 ViewController,它要求用户通过生物识别或密码执行本地身份验证。之后,我想返回用户离开应用程序时所在的 ViewController,但我不知道如何获取该信息。
现在我只是每次都将它们发送回应用程序的开始屏幕,但如果能够在应用程序暂停时返回到它们停止的位置,那就太好了。我将如何做到这一点?
【问题讨论】:
-
请为您的
applicationWillEnterForeground方法添加代码