---
title: hoverStyle
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uihovereffectlayer/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.

## Declaration

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

## Discussion

Discussion note: Not all UIHoverStyles may be supported by UIHoverEffectLayer. If the provided style is not supported, a fallback style will be selected instead.
