Thanks for being a part of WWDC25!

How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here

How to prevent the main app from being terminated by the system during long - term system - level recording

After logging in to the main App, turn on screen recording, then switch to the interface of another App to perform operations. After about ten-odd minutes, when returning to the main App, it was found that the app was forcefully quit by the system, and subsequent operations could not be carried out.

Answered by DTS Engineer in 841311022

We need to be clear about terminology. You wrote:

it was found that the app was forcefully quit by the system

Force quit isn’t really a term of iOS, but most folks use it to mean that the user removed the app from the multitasking UI by swiping up. That’s not what’s happening here.

Rather, it sounds like:

  1. The user moved your app to the background.

  2. Shortly thereafter, the system suspended it.

  3. After a while the system starting running short on memory, and so it terminated your app.

This is expected behaviour on most Apple platforms (everything except macOS). Your app is expected to handle it properly.

subsequent operations could not be carried out.

Can you elaborate on what those operations were?

Share and Enjoy

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

We need to be clear about terminology. You wrote:

it was found that the app was forcefully quit by the system

Force quit isn’t really a term of iOS, but most folks use it to mean that the user removed the app from the multitasking UI by swiping up. That’s not what’s happening here.

Rather, it sounds like:

  1. The user moved your app to the background.

  2. Shortly thereafter, the system suspended it.

  3. After a while the system starting running short on memory, and so it terminated your app.

This is expected behaviour on most Apple platforms (everything except macOS). Your app is expected to handle it properly.

subsequent operations could not be carried out.

Can you elaborate on what those operations were?

Share and Enjoy

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

How to prevent the main app from being terminated by the system during long - term system - level recording
 
 
Q