When does iOS system clear tmp under iOS App sandbox?

as title mentioned
Answered by DTS Engineer in 675067022

When does iOS system clear tmp

It’s unspecified.

The general rule for temporary directories is that you should strive to delete any file you create there, especially any large file. Think of the system’s sweeper as a safety net, there to clean up if something goes wrong (for example, if your app crashes before it can clean up).

under iOS App sandbox?

I don’t know what you mean by that. Do you mean your app’s container?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
Accepted Answer

When does iOS system clear tmp

It’s unspecified.

The general rule for temporary directories is that you should strive to delete any file you create there, especially any large file. Think of the system’s sweeper as a safety net, there to clean up if something goes wrong (for example, if your app crashes before it can clean up).

under iOS App sandbox?

I don’t know what you mean by that. Do you mean your app’s container?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
When does iOS system clear tmp under iOS App sandbox?
 
 
Q