---
title: UIHoverStyle
framework: uikit
role: symbol
role_heading: Class
path: uikit/uihoverstyle
---

# UIHoverStyle

The hover style to apply to a view, including an effect and a shape to use for displaying that effect.

## Declaration

```swift
@MainActor class UIHoverStyle
```

## Topics

### Creating a hover style

- [init(effect:shape:)](uikit/uihoverstyle/init(effect:shape:).md)
- [init(shape:)](uikit/uihoverstyle/init(shape:).md)

### Specifying a hover shape

- [shape](uikit/uihoverstyle/shape-21npk.md)
- [UIShape](uikit/uishape-swift.struct.md)

### Specifying a hover effect

- [effect](uikit/uihoverstyle/effect-4vdoj.md)
- [UIHoverAutomaticEffect](uikit/uihoverautomaticeffect-swift.struct.md)
- [UIHoverHighlightEffect](uikit/uihoverhighlighteffect-swift.struct.md)
- [UIHoverLiftEffect](uikit/uihoverlifteffect-swift.struct.md)
- [UIHoverEffect](uikit/uihovereffect-40091.md)

### Managing the state of the hover effect

- [isEnabled](uikit/uihoverstyle/isenabled.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Inherited By

- [UIPointerStyle](uikit/uipointerstyle.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Managing the hover appearance

- [hoverStyle](uikit/uiview/hoverstyle.md)
- [UIHoverEffectLayer](uikit/uihovereffectlayer.md)
