<!--
{
  "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/Current/canContinueInForeground",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "App Intents"
    ],
    "preciseIdentifier" : "s:10AppIntents11IntentModesV7CurrentV23canContinueInForegroundSbvp"
  },
  "title" : "canContinueInForeground"
}
-->

# canContinueInForeground

A Boolean value that indicates whether running the app intent in the foreground
is possible.

```
var canContinueInForeground: Bool { get }
```

## Discussion

Check the value of this property to determine if running the app intent in the
foreground is supported in the current context. Typically, you check this value
if your app intent supports both foreground and background runtime modes, and
need to switch from background to foreground.

---

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)