How can I add an image and text to a tab bar item with TabbedView?

I'd like to create what is essentially a `UITabBarItem`. I tried using


VStack {
  Image("icon")
  Text("Label")
}

But this did not appear in the tab bar when demoing. It seemed to only recognize a single Image or a single Text component.

Ah, nice, thank you for sharing the workaround. Works for me as well on Beta 2

The workaround is no longer necessary as of beta 3 which deprecates tabItemLabel in favor of tabItem.

How can I add an image and text to a tab bar item with TabbedView?
 
 
Q