Home > database >  Change main page of TabbedPage, Xamarin.iOS
Change main page of TabbedPage, Xamarin.iOS

Time:05-06

I want to set the Heart screen as the first shown page when entering the whole TabbedPage, I would be happy if anyone can help me with that. Thanks

Each icon is a blank content page title:

CodePudding user response:

You can set the current page as the page you want in the construction method of the tabbedpage. Such as:

public TabbedPage1()
    {
        InitializeComponent();
        this.CurrentPage = Children[2];
    }
  • Related