我选择systemImage"地图"和"人"的选项卡项,但图像是在充格式,这必须在中空的格式。 是什么原因?
struct TestView: View {
var body: some View {
TabView {
Text("Map!")
.tabItem {
Label("Map", systemImage: "map")
}
Text("Profile")
.tabItem {
Label("Person", systemImage: "person")
}
}
}
}
模式:13.1
SF符号:3.1