---
title: hoverStyle
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiview/hoverstyle
---

# hoverStyle

The hover style for the view.

## Declaration

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

## Discussion

Discussion The value of this property defaults to nil, which indicates that the view doesn’t have any hover effect. Subclasses can configure this style to use a different default value.

## See Also

### Managing the hover appearance

- [UIHoverStyle](uikit/uihoverstyle.md)
- [UIHoverEffectLayer](uikit/uihovereffectlayer.md)
