<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIHoverEffectLayer/hoverStyle",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIHoverEffectLayer(py)hoverStyle"
  },
  "title" : "hoverStyle"
}
-->

# hoverStyle

The hover style to apply to the sublayers of this layer when this layer
is hovered (e.g., when the user looks at this layer). Defaults to the
automatic style.

```
@NSCopying var hoverStyle: UIHoverStyle { get set }
```

## Discussion> Note: Not all ``doc://com.apple.uikit/documentation/UIKit/UIHoverStyle``s may be supported by
> ``doc://com.apple.uikit/documentation/UIKit/UIHoverEffectLayer``. If the provided style is not supported, a fallback
> style will be selected instead.

---

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)