I have a custom tab view, How I can get focus on top menu items, when remote MENU is pressed, The List is scrolling to top as expected but not getting focus on the custom top menu.
@ViewBuilder
private var tabView: some View {
TabView(selection: $viewModel.currentTab) {
HomeView()
.tag(MenuTab.home)
DummyView()
.tag(MenuTab.teams)
Color.green
.tag(MenuTab.games)
Color.blue
.tag(MenuTab.search)
}
.tabViewStyle(.automatic)
.introspectTabBarController { tabBarController in
tabBarController.tabBar.isHidden = true
}
}
I have a custom tab view, How I can get focus on top menu items, when remote MENU is pressed, The List is scrolling to top as expected but not getting focus on the custom top menu.