---
title: UIToolTipConfiguration
framework: uikit
role: symbol
role_heading: Class
path: uikit/uitooltipconfiguration
---

# UIToolTipConfiguration

An object that a tooltip interaction delegate uses to describe the tooltip settings.

## Declaration

```swift
@MainActor class UIToolTipConfiguration
```

## Overview

Overview Use a tooltip configuration to specify: The text that appears in the tooltip. The region that the pointer must hover over to trigger the appearance of the tooltip. A UIToolTipInteraction object asks for a configuration from its delegate by calling the delegate method toolTipInteraction(_:configurationAt:).

## Topics

### Creating a tooltip configuration

- [init(toolTip:)](uikit/uitooltipconfiguration/init(tooltip:).md)
- [init(toolTip:in:)](uikit/uitooltipconfiguration/init(tooltip:in:).md)

### Accessing the configuration settings

- [toolTip](uikit/uitooltipconfiguration/tooltip.md)
- [sourceRect](uikit/uitooltipconfiguration/sourcerect-8zvo1.md)

### Initializers

- [init(toolTip:inRect:)](uikit/uitooltipconfiguration/init(tooltip:inrect:).md)

## Relationships

### Inherits From

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

### Conforms To

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

## See Also

### Providing a tooltip configuration

- [toolTipInteraction(_:configurationAt:)](uikit/uitooltipinteractiondelegate/tooltipinteraction(_:configurationat:).md)
