Hi there!
After a few months off, I'm starting a new app.
I'm making a TabView
like this:
import SwiftUI struct ContentView: View { @State private var tab: Tab = .adventures var body: some View { TabView(selection: $tab) { Text("Explore") .tag(Tab.explore) .tabItem { Label("Explore", systemImage: "airplane.circle") } Text("Profile") .tag(Tab.profile) .tabItem { Label("Profile", systemImage: "person") } } } enum Tab { case explore, profile } }
As you noticed, I want airplane.circle
and person
SF Symbols on the TabView
but SwiftUI is showing airplane.circle.fill
and person.fill
in the preview canvas and also when I run the app in the simulator.
Why it is forcing me to show those icons?
Xcode version: 13.4.1
SF Symbols version: 3.3
iOS deployment target: 15.0
Thank you.