简体   繁体   中英

How do I add burger menu to Xamarin iOS project?

I need to add a menu to a Xamarin iOS project.

I have a page (viewController). It's the home page and I need to add the menu on this page.

Can anyone tell me how?

You can also try this without having to use any third party library

Hamburger menu in xamarin iOS

在此处输入图片说明

You can try out Xamarin.SideMenu: https://github.com/TheEightBot/Xamarin.SideMenu

There is also some library available in the Xamarin Component Store (Sidebar Navigation, SlideMenuController, ...)

Alternatively, you can code your own. Here is some tutorials about how to do it (it is in Obj-C/Swift, but you can translate it to C# easily):

https://www.appcoda.com/ios-programming-sidebar-navigation-menu/ https://www.raywenderlich.com/32054/how-to-create-a-slide-out-navigation-like-facebook-and-path https://www.thorntech.com/2016/03/ios-tutorial-make-interactive-slide-menu-swift/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM