Sets the behavior of the view when being customized by the user.
SDKs
- macOS 10.15+
- Xcode 11.0+
Framework
- Swift
UI
Declaration
func touchBarItemPresence(_ presence: Touch Bar Item Presence) -> some View
Discussion
Views may have one of the following presence values: required and not allowed to be removed by the user; shown by default prior to user customization but removable; or not visible by default but able to be added through the palette.