<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIBandSelectionInteraction/State-swift.enum",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UIBandSelectionInteractionState"
  },
  "title" : "UIBandSelectionInteraction.State"
}
-->

# UIBandSelectionInteraction.State

Constants that indicate whether a band selection interaction object is inactive or currently tracking an interaction.

```
enum State
```

## Overview

Use the [`UIBandSelectionInteraction.State`](/documentation/UIKit/UIBandSelectionInteraction/State-swift.enum) constants in the handler of a [`UIBandSelectionInteraction`](/documentation/UIKit/UIBandSelectionInteraction) object to determine the current state of the interaction. When the interaction object is idle, it sets the state to [`UIBandSelectionInteraction.State.possible`](/documentation/UIKit/UIBandSelectionInteraction/State-swift.enum/possible). After the interaction starts, the state changes to other values to reflect the progress toward the completion of that interaction.

## Topics

### Getting the selection state

[`case possible`](/documentation/UIKit/UIBandSelectionInteraction/State-swift.enum/possible)

A state that indicates the interaction object is ready to start a new interaction.

[`case began`](/documentation/UIKit/UIBandSelectionInteraction/State-swift.enum/began)

A state that indicates the interaction object began a new interaction.

[`case selecting`](/documentation/UIKit/UIBandSelectionInteraction/State-swift.enum/selecting)

A state that indicates the interaction object is tracking changes to the selection rectangle.

[`case ended`](/documentation/UIKit/UIBandSelectionInteraction/State-swift.enum/ended)

A state that indicates the current interaction ended.

### Initializers

[`init?(rawValue: Int)`](/documentation/UIKit/UIBandSelectionInteraction/State-swift.enum/init(rawValue:))

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)