Contents

subscript(tab:)

The customization of the tab, identified by its customization identifier.

Declaration

subscript(tab id: String) -> TabViewCustomization.TabCustomization { get set }

Overview

You can imperatively set properties by subscripting with the tab ID. The following example sets the tab’s sidebar visibility:

customization[tab: "com.myApp.alerts"].sidebarVisibility = .hidden