Contents

UIToolTipConfiguration

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

Declaration

@MainActor class UIToolTipConfiguration

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

Accessing the configuration settings

Initializers

See Also

Providing a tooltip configuration