Hello,
Welcome to our Microsoft Q&A platform!
Any way to create a custom menu adaptative for each user when they log in
For this function, you could create two different templates for the application to display different views for users and visitors.
public class App : Application
{
public static bool IsUserLoggedIn { get; set; }
public App()
{
if (!IsUserLoggedIn)
{
MainPage = new AppShell_1();
}
else
{
MainPage = new AppShell_2();
}
}
}
Best Regards,
Jarvan Zhang
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.