---
title: KeyPress.Result.handled
framework: swiftui
role: symbol
role_heading: Case
path: swiftui/keypress/result/handled
---

# KeyPress.Result.handled

The action consumed the event, preventing dispatch from continuing.

## Declaration

```swift
case handled
```

## See Also

### Getting the result

- [KeyPress.Result.ignored](swiftui/keypress/result/ignored.md)
