Instance Method

touchBarCustomizationLabel(_:)

Sets a user-visible string identifying the view’s functionality.

Declaration

func touchBarCustomizationLabel(_ label: Text) -> some View

Discussion

This string is visible during user customization.

See Also

Configuring Touch Bar Views

func touchBar<Content>(TouchBar<Content>) -> View

Sets the touch bar and its content to be shown in the Touch Bar when applicable.

func touchBarItemPrincipal(Bool) -> View

Sets the view as having special significance to the TouchBar.

func touchBarItemPresence(TouchBarItemPresence) -> View

Sets the behavior of the view when being customized by the user.