---
title: isFocused
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiviewconfigurationstate-swift.struct/isfocused
---

# isFocused

A Boolean value that indicates whether the view is in a focused state.

## Declaration

```swift
var isFocused: Bool { get set }
```

## See Also

### Managing view configuration states

- [isSelected](uikit/uiviewconfigurationstate-swift.struct/isselected.md)
- [isHighlighted](uikit/uiviewconfigurationstate-swift.struct/ishighlighted.md)
- [isDisabled](uikit/uiviewconfigurationstate-swift.struct/isdisabled.md)
- [isPinned](uikit/uiviewconfigurationstate-swift.struct/ispinned.md)
