Contents

accessibilityHint(_:isEnabled:)

Communicates to the user what happens after performing the view’s action.

Declaration

nonisolated func accessibilityHint(_ hint: LocalizedStringResource, isEnabled: Bool) -> ModifiedContent<Content, Modifier>

Parameters

  • hint:

    The accessibility hint to apply.

  • isEnabled:

    If true the accessibility hint is applied; otherwise the accessibility hint is unchanged.

Discussion

Provide a hint in the form of a brief phrase, like “Purchases the item” or “Downloads the attachment”.