I have a ContentPage(Login Page) that should navigate to my TabbedPage(TabPage). The problem is when I use the code:
await Application.Current.MainPage.Navigation.PushModalAsync(new
TabbedPage());
to navigate to my tab page is not displaying anything.
This is what I am seeing when I use the code above:
And this is what I am seeing when I set the Main Page:
The Reason it is not working is that you are using the Xamarin.Forms.TabbedPage
in place of your own TabbedPage
Changing that should solve your issue,
Good luck revert if this does not work
I would suggest one more thing your Page naming convention should be different so that you do not confuse yourself and the compiler.
For Eg, if your page has a TabbedPage
and your functionality for it is something like playing music and different tabs for different types of it then you name it as MusicTabbedPage
for better understanding