Why am I seeing two tab bars (on iOS, but not on Android) #19174
Replies: 1 comment
-
ChatGPT suggested that instead of embedding LoginPage() in a NavigationPage and pushing MainTabbedPage (which I did because I liked the esthetics of the navigation bar), use Application.Current.MainPage = new MainTabbedPage() instead. It works great. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have an app - I start with a LoginPage, embedded in a NavigationPage:
MainPage = new NavigationPage(new LoginPage ());
From there, I go to a TabbedPage:
viewModel.RequestNavigation += () => Navigation.PushAsync(new MainTabbedPage());
The MainTabbedPage has 4 tabs, the first of which is this:
Now, the AirportsPage has ToolBarItems:
I want them to show up in the toolbar, but they are (on iOS) showing up twice, in the ToolBar and in the NavigationBar.
Can some kind soul please tell me why this is happening and what I can do to avoid it?

Beta Was this translation helpful? Give feedback.
All reactions