<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIHoverAutomaticEffect-swift.struct",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "s:5UIKit22UIHoverAutomaticEffectV"
  },
  "title" : "UIHoverAutomaticEffect"
}
-->

# UIHoverAutomaticEffect

A system-default hover effect that automatically selects the appropriate effect based on the view to which it applies.

```
struct UIHoverAutomaticEffect
```

## Topics

### Creating an automatic hover effect

[`init()`](/documentation/UIKit/UIHoverAutomaticEffect-swift.struct/init())

Creates a system-default hover effect that automatically selects the appropriate effect based on the view to which it applies.

## Relationships

### Conforms To

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

---

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)