<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/IntentModes/ForegroundMode/deferred",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "App Intents"
    ],
    "preciseIdentifier" : "s:10AppIntents11IntentModesV14ForegroundModeV8deferredAEvpZ"
  },
  "title" : "deferred"
}
-->

# deferred

An option to bring the app to the foreground while running the intent’s action or
shortly before the action completes.

```
static var deferred: IntentModes.ForegroundMode { get }
```

## Discussion

This option ensures the transition of the app to the foreground. Call the
`AppIntent/continueInForeground(_:alwaysConfirm:) ` or
[`needsToContinueInForegroundError(_:alwaysConfirm:)`](/documentation/AppIntents/AppIntent/needsToContinueInForegroundError(_:alwaysConfirm:)) method from your
intent’s [`perform()`](/documentation/AppIntents/AppIntent/perform()) method to transition to the foreground at the time
you choose. If you don’t call one of these methods, the system transitions the app
to the foreground at the end of your [`perform()`](/documentation/AppIntents/AppIntent/perform()) method.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)