---
title: WKExtendedRuntimeSessionInvalidationReason.resignedFrontmost
framework: watchkit
role: symbol
role_heading: Case
path: watchkit/wkextendedruntimesessioninvalidationreason/resignedfrontmost
---

# WKExtendedRuntimeSessionInvalidationReason.resignedFrontmost

The app lost its frontmost status.

## Declaration

```swift
case resignedFrontmost
```

## Discussion

Discussion If the session type doesn’t grant background execution time, the session stops as soon as the app loses its frontmost app status. Users can dismiss the frontmost app by pressing the Digital Crown, tapping a notification, or launching another app. For more information, see Understand Frontmost App State.

## See Also

### Invalidation Reasons

- [WKExtendedRuntimeSessionInvalidationReason.error](watchkit/wkextendedruntimesessioninvalidationreason/error.md)
- [WKExtendedRuntimeSessionInvalidationReason.none](watchkit/wkextendedruntimesessioninvalidationreason/none.md)
- [WKExtendedRuntimeSessionInvalidationReason.sessionInProgress](watchkit/wkextendedruntimesessioninvalidationreason/sessioninprogress.md)
- [WKExtendedRuntimeSessionInvalidationReason.expired](watchkit/wkextendedruntimesessioninvalidationreason/expired.md)
- [WKExtendedRuntimeSessionInvalidationReason.suppressedBySystem](watchkit/wkextendedruntimesessioninvalidationreason/suppressedbysystem.md)
