---
title: selected
framework: uikit
role: symbol
role_heading: Type Property
path: uikit/uicontrol/state-swift.struct/selected
---

# selected

The selected state of a control.

## Declaration

```swift
static var selected: UIControl.State { get }
```

## Discussion

Discussion For many controls, this state has no effect on behavior or appearance. Some subclasses, like the UISegmentedControl class, use this state to change their appearance. You can retrieve and set this value through the isSelected property.

## See Also

### Constants

- [normal](uikit/uicontrol/state-swift.struct/normal.md)
- [highlighted](uikit/uicontrol/state-swift.struct/highlighted.md)
- [disabled](uikit/uicontrol/state-swift.struct/disabled.md)
- [focused](uikit/uicontrol/state-swift.struct/focused.md)
- [application](uikit/uicontrol/state-swift.struct/application.md)
- [reserved](uikit/uicontrol/state-swift.struct/reserved.md)
