isFrontmostTimeoutExtended
A Boolean value that determines whether the app extends its time as the frontmost app.
Declaration
var isFrontmostTimeoutExtended: Bool { get set }Mentioned in
Discussion
This value defaults to false. An app remains the frontmost app for two minutes after the user drops their wrist. Setting this property to true extends the app’s time as the frontmost app to eight minutes.
Don’t just extend the app’s frontmost time globally. Instead, enable it only when the user performs an activity that they are likely to continue. Otherwise, disable it. Users can also change the default length of time that apps spend as the frontmost app by choosing Settings > General > Wake Screen. If they select a time that is eight minutes or longer, this property has no effect. In other words, when isFrontmostTimeoutExtended is true, the app remains the frontmost app for eight minutes, or for the amount of time that the user selects, whichever is longer.