Flyout navigation controller menu indicator

appcoder

I am using the Flyout navigation component in my Xamarin IOS application and I am able to connect multiple view controllers to it and also swipe out left and able to see the menu items. But I am not getting a menu indicator at the top as like in the drawer menu applications(like facebook and many android apps). Here is the code I used

    FlyoutNavigationController navController = new FlyoutNavigationController {//this will create a new instance of the FlyoutComponent
            NavigationRoot = new RootElement("Menu"){ //Here we create the root of the alements
                new Section("Seccion 1"){
                    new StringElement("Picks"),
                    new StringElement("Watchlist"),
                },
                new Section("Seccion 2"){
                    new StringElement("Portfolio"),
                },
            },
            ViewControllers =  new [] {//here we link Controllers
                this.Storyboard.InstantiateViewController("Picks") as UIViewController,//here we create the instances for the Controllers
                this.Storyboard.InstantiateViewController("Watchlist") as UIViewController,
                this.Storyboard.InstantiateViewController("Portfolio") as UIViewController,
            }
        };
//navController.ToggleMenu();
        View.AddSubview (navController.View);
appcoder

Finally I figured out that I have to set the left bar button item with an image looking like a drawer menu like this

UIBarButtonItem menuIndicator = new UIBarButtonItem (UIImage.FromBundle   ("images/slideout.png"), UIBarButtonItemStyle.Plain, (sender, e) => {
            AppDelegate.FlyoutNavigation.ToggleMenu ();
        });
        NavigationItem.SetLeftBarButtonItem (menuIndicator, false);

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

MvvmCross - Flyout Navigation, Hamburger Menu, Sliding Menu for Android and iOS

From Dev

MvvmCross - Flyout Navigation, Hamburger Menu, Sliding Menu for Android and iOS

From Dev

Swift, Add a navigation controller in custom activity indicator

From Dev

Flyout Menu windows phone 8.1 on hold Listview

From Dev

How to change open animation of flyout menu

From Dev

FlyOut menu design issue when adding fragment

From Dev

Flyout or Menu Dropdown in Portal 8 themes

From Dev

How to change open animation of flyout menu

From Dev

Using one controller or multiple controllers for a navigation page menu

From Dev

Using one controller or multiple controllers for a navigation page menu

From Dev

Windows 10 UWP app menu flyout inside menu item

From Dev

Windows 10 UWP app menu flyout inside menu item

From Dev

Asynchronously load images to a navigation flyout or best way to load images

From Dev

Exaile Sound Indicator Menu Integration

From Dev

Exaile Sound Indicator Menu Integration

From Dev

Windows Phone 8.1 - Menu flyout item click command c#

From Dev

Set Menu Flyout background color using c# in windows 8

From Dev

Making a tooltip-like flyout-menu scrollable?

From Dev

How to choose flyout menu item in c# metro style app

From Dev

List all fonts and colors in menu flyout in windows store 8.1 app

From Dev

Navigation Controller & Tab Controller

From Dev

Activity Indicator not showing on view controller

From Dev

Where and how to set protocol delegate when slide out menu implemented in navigation controller?

From Dev

How to add a page indicator inside the navigation bar?

From Dev

Android navigation drawer indicator not pure white

From Dev

Change the color of Navigation Drawer indicator icon

From Dev

Android navigation drawer indicator not pure white

From Dev

Replace current navigation controller with another navigation controller

From Dev

Navigation controller with tab bar controller?

Related Related

  1. 1

    MvvmCross - Flyout Navigation, Hamburger Menu, Sliding Menu for Android and iOS

  2. 2

    MvvmCross - Flyout Navigation, Hamburger Menu, Sliding Menu for Android and iOS

  3. 3

    Swift, Add a navigation controller in custom activity indicator

  4. 4

    Flyout Menu windows phone 8.1 on hold Listview

  5. 5

    How to change open animation of flyout menu

  6. 6

    FlyOut menu design issue when adding fragment

  7. 7

    Flyout or Menu Dropdown in Portal 8 themes

  8. 8

    How to change open animation of flyout menu

  9. 9

    Using one controller or multiple controllers for a navigation page menu

  10. 10

    Using one controller or multiple controllers for a navigation page menu

  11. 11

    Windows 10 UWP app menu flyout inside menu item

  12. 12

    Windows 10 UWP app menu flyout inside menu item

  13. 13

    Asynchronously load images to a navigation flyout or best way to load images

  14. 14

    Exaile Sound Indicator Menu Integration

  15. 15

    Exaile Sound Indicator Menu Integration

  16. 16

    Windows Phone 8.1 - Menu flyout item click command c#

  17. 17

    Set Menu Flyout background color using c# in windows 8

  18. 18

    Making a tooltip-like flyout-menu scrollable?

  19. 19

    How to choose flyout menu item in c# metro style app

  20. 20

    List all fonts and colors in menu flyout in windows store 8.1 app

  21. 21

    Navigation Controller & Tab Controller

  22. 22

    Activity Indicator not showing on view controller

  23. 23

    Where and how to set protocol delegate when slide out menu implemented in navigation controller?

  24. 24

    How to add a page indicator inside the navigation bar?

  25. 25

    Android navigation drawer indicator not pure white

  26. 26

    Change the color of Navigation Drawer indicator icon

  27. 27

    Android navigation drawer indicator not pure white

  28. 28

    Replace current navigation controller with another navigation controller

  29. 29

    Navigation controller with tab bar controller?

HotTag

Archive