I'm trying to show a "plus" or "plus.app" sign via the SF Symbols in my code, but the preview to the right shows nothing.
Other symbols do work like "plus.circle", is there a reason why the other symbols aren't working?
Here is my view.
var body: some View {
NavigationView {
List(items) { item in
Text(item.description)
}
.navigationBarTitle(Text("Grocery Items"))
.navigationBarItems(leading:
PresentationButton(
Image(systemName: "plus")
.imageScale(.large)
.padding(),
destination: ItemDetailView(item: items[0])
)
)
}
}
I expect the output to show the "plus.app" or "plus" symbol, but it shows nothing when I use those symbols.