<!--
{
  "availability" : [
    "iOS: 13.4.0 -",
    "iPadOS: 13.4.0 -",
    "macCatalyst: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIPointerEffect-swift.enum",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "s:5UIKit15UIPointerEffectO"
  },
  "title" : "UIPointerEffect"
}
-->

# UIPointerEffect

An effect that alters a view’s appearance when a pointer enters the current region.

```
enum UIPointerEffect
```

## Overview

`UIPointerEffect` automatically attempts to determine the appropriate effect for the given preview. Use one of its enumeration cases to request a specific system-provided effect.

## Topics

### Accessing the preview

[`var preview: UITargetedPreview`](/documentation/UIKit/UIPointerEffect-swift.enum/preview)

A preview of the view used during an interaction’s animations.

### Creating a default effect

[`case automatic(UITargetedPreview)`](/documentation/UIKit/UIPointerEffect-swift.enum/automatic(_:))

A pointer content effect with the given preview’s view.

### Creating a specific effect

[`case highlight(UITargetedPreview)`](/documentation/UIKit/UIPointerEffect-swift.enum/highlight(_:))

An effect where the pointer slides under the given view and morphs into the view’s shape.

[`case hover(UITargetedPreview, preferredTintMode: UIPointerEffect.TintMode, prefersShadow: Bool, prefersScaledContent: Bool)`](/documentation/UIKit/UIPointerEffect-swift.enum/hover(_:preferredTintMode:prefersShadow:prefersScaledContent:))

An effect where visual changes apply to the view and the pointer retains its default shape.

[`case lift(UITargetedPreview)`](/documentation/UIKit/UIPointerEffect-swift.enum/lift(_:))

An effect where the pointer slides under the given view and disappears as the view scales up and gains a shadow.

### Enumerations

[`enum TintMode`](/documentation/UIKit/UIPointerEffect-swift.enum/TintMode)

An effect that defines how to apply a tint to a view during a pointer interaction.

## Relationships

### Conforms To

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

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

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

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

[`UIHoverEffect-40091`](/documentation/UIKit/UIHoverEffect-40091)

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

---

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)