Search Tab Role
On Liquid Glass, this tab is placed in its own group. In left-to-right (LTR) layouts, it will always appear on the right side of the TabView.
Platform Compatibility
Tags
SwiftUI Code
TabView {
Tab {
EmptyView()
}
Tab("1", systemImage: "1.circle", role: .search) {
EmptyView()
}
Tab("2", image: "cats24x24") {
EmptyView()
}
Tab {
EmptyView()
} label: {
Label("3", systemImage: "3.circle")
}
}