Is there a way to resize one of the tab items in a TabView?
I tried .font(.title) but it doesn't do anything.
struct TabViewApp: View {
var body: some View {
TabView {
Text("Tab 1")
.tabItem {
Image(systemName: "star")
Text("Tab 1")
}
Text("Tab 2")
.tabItem {
Image(systemName: "calendar.circle.fill")
.font(.title)
Text("Tab 2")
}
Text("Tab 3")
.tabItem {
Image(systemName: "sun.max")
Text("Tab 3")
}
}
}
}
