---
title: UIScene.ActivationState.foregroundActive
framework: uikit
role: symbol
role_heading: Case
path: uikit/uiscene/activationstate-swift.enum/foregroundactive
---

# UIScene.ActivationState.foregroundActive

A state that indicates that the scene is running in the foreground and is currently receiving events.

## Declaration

```swift
case foregroundActive
```

## Discussion

Discussion The interface for an active scene is onscreen and visible to the user.

## See Also

### Scene States

- [UIScene.ActivationState.unattached](uikit/uiscene/activationstate-swift.enum/unattached.md)
- [UIScene.ActivationState.foregroundInactive](uikit/uiscene/activationstate-swift.enum/foregroundinactive.md)
- [UIScene.ActivationState.background](uikit/uiscene/activationstate-swift.enum/background.md)
