URLHandler

public protocol URLHandler

Conform to this protocol to handle links tapped in an AttributedLabel.

Use the URLHandlerEnvironmentKey or Environment.urlHandler property to override the link handler in the environment.