<!--
{
  "availability" : [
    "iOS: 17.5.0 -",
    "iPadOS: 17.5.0 -",
    "macCatalyst: 17.5.0 -",
    "visionOS: 26.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIPencilInteraction/Phase",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UIPencilInteractionPhase"
  },
  "title" : "UIPencilInteraction.Phase"
}
-->

# UIPencilInteraction.Phase

Constants that describe the phases of an interaction on Apple Pencil.

```
enum Phase
```

## Topics

### Phases

[`case began`](/documentation/UIKit/UIPencilInteraction/Phase/began)

A continuous gesture on the pencil began

[`case cancelled`](/documentation/UIKit/UIPencilInteraction/Phase/cancelled)

A continuous gesture on the pencil was cancelled

[`case changed`](/documentation/UIKit/UIPencilInteraction/Phase/changed)

A continuous gesture on the pencil changed

[`case ended`](/documentation/UIKit/UIPencilInteraction/Phase/ended)

A continuous gesture on the pencil ended, or a discrete gesture on the pencil recognized

### Initializers

[`init?(rawValue: UInt)`](/documentation/UIKit/UIPencilInteraction/Phase/init(rawValue:))

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)