is it possible to load a link such as
Link("Apple", destination: URL(string: "https://www.apple.com")!)
from a tab bar item? if so how?
struct MainView: View {
@State private var selectedTab = "Three"
var body: some View {
TabView(selection: $selectedTab) {
LiveView()
.tabItem {
Label("LIVE", systemImage: "camera.metering.center.weighted")
.font(Font.title.weight(.ultraLight))
}
.tag("One")
if I add an link or text I get errors. I appreciate any help!