Monday, February 12, 2024
HomeiOS Developmentfifth menu merchandise in MAUI Shell flyout goes to "extra menu" solely...

fifth menu merchandise in MAUI Shell flyout goes to “extra menu” solely on iOS. Methods to disable?


fifth menu merchandise in MAUI Shell flyout goes to “extra menu” solely on iOS. Methods to disable?

I choose fifth menu merchandise, goes to “extra”. I would like on to go to web page.

enter image description here

As an alternative it now goes to a extra web page

enter image description here

This habits is barely on iOS, Android works usually

That is code for producing the menu

utilizing Meldcode_Core.Views;

namespace Meldcode_Core
{
    public partial class AppShell : Shell
    {
        public AppShell()
        {

            InitializeComponent();

            int circulation = FlowChoicePage.flowChoice;

            FlyoutItem flyoutItem = new FlyoutItem();
            flyoutItem.FlyoutDisplayOptions = FlyoutDisplayOptions.AsMultipleItems;

            flyoutItem.Objects.Add(new ShellContent() { Title = "Noodsituatie", Content material = new WebViewPage(2, circulation) });
            flyoutItem.Objects.Add(new ShellContent() { Title = "Huiselijk geweld", Content material = new WebViewPage(3, circulation) });
            flyoutItem.Objects.Add(new ShellContent() { Title = "Geweld- of zedendelict", Content material = new WebViewPage(4, circulation) });
            flyoutItem.Objects.Add(new ShellContent() { Title = "Seksueel gedrag kinderen", Content material = new WebViewPage(5, circulation) });
            flyoutItem.Objects.Add(new ShellContent() { Title = "Obtain het protocol", Content material = new WebViewPage(6, circulation) });
            flyoutItem.Objects.Add(new ShellContent() { Title = "Informatie", Content material = new WebViewPage(7, circulation) });
            flyoutItem.Objects.Add(new ShellContent() { Title = "FAQ", Content material = new WebViewPage(8, circulation) });
            flyoutItem.Objects.Add(new ShellContent() { Title = "Veilig Thuis", Content material = new WebViewPage(9, circulation) });
            flyoutItem.Objects.Add(new ShellContent() { Title = "Onderwijs of Kinderopvang", Content material = new FlowChoicePage() });
            flyoutItem.Objects.Add(new ShellContent() { Route = "Onderwijs", Title = "", Content material = new WebViewPage(1, 2) });
            flyoutItem.Objects.Add(new ShellContent() { Route = "Kinderopvang", Title = "", Content material = new WebViewPage(1, circulation) });

            Objects.Add(flyoutItem);
        }
    }
}



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments