Contents

highlight(_:)

Highlights (or unhighlights) the button.

Declaration

func highlight(_ flag: Bool)

Parameters

  • flag:

    True to highlight the button; False to unhighlight the button. If the current state of the button matches flag, no action is taken.

Discussion

Highlighting makes the button appear recessed, displays its alternate title or image, or causes the button to appear illuminated.

See Also

Related Documentation

Managing button state