I can get SF Symbols to work fine in main body views.
This works:
struct ContentView : View {
var body: some View {
VStack {
Text("Hello world")
Image(systemName: "square.and.pencil")
}
}
}But this does not - the tab item is empty
struct ContentView : View {
@State private var selection = 0
var body: some View {
TabbedView(selection: $selection){
Text("Hello world")
.tabItemLabel(
Image(systemName: "square.and.pencil")
)
.tag(0)
}
}
}Is this a known issue?