Contents

defaultToolTip

The text that appears in a tooltip by default.

Declaration

var defaultToolTip: String? { get set }

Discussion

Set this property to the default text to display in the tooltip.

If you set the delegate property to an object that conforms to the UIToolTipInteractionDelegate protocol and implements the toolTipInteraction(_:configurationAt:) method, then the return value of the delegate method determines the text that appears in the tooltip.

See Also

Managing the interaction