This has been deprecated. MvvmCross 5.0 changed the way this works. Please checkout the sample source. If you are on 4.4 this still works fine
There is a lot of demand for the so called “Hamburger” menu nowadays. On default it is supported by Android but not by iOS. Fortunately there are a lot of folks on github who have made a hamburger menu for iOS and these implementations have been made available for Xamarin and MvvmCross. This article will show how easy it is to implement a hamburger menu for a MvvmCross based project.
The result out of this post will be a basic iOS hamburger menu for MvvmCross which you can customize to your heart’s contents. For a complete customized sample please see the github page: https://github.com/MarcBruins/MvvmCross-Sidebar-Sample/
Xamarin sidebar vs JASidePanels
In MvvmCross iOS there are two existing packages which can be used. Xamarin Sidebar and JASidePanels. The difference is mainly UI based. Both the JASidepanels and the Xamarin Sidebar have the ability to create two menus. One for the left side and one for the right. Furthermore JASidepanels uses a UINavigationBar on the Menu view and Xamarin sidebar does not.
The nice thing that the iOSSupport package has to offer is that you can switch implementations by editing only one line of code!read more...