调用 applicationWillTerminate 后我有多少时间?

How much time do I have after applicationWillTerminate invoked?

我想在应用程序终止之前保存图像对象。我大约有多少时间?

来自 UIApplicationDelegate applicationWillTerminate 方法的协议文档:

... Your implementation of this method has approximately five seconds to perform any tasks and return. If the method does not return before time expires, the system may kill the process altogether. ...