I am using master detail page. In iOS when I click hamburger icon the master page slides the detail page to right in iOS. I want when we click on hamburger icon the master page should come over detail page like in android. The detail page should not slide to right, it should stable and Master page should overlap it in ios. In android its working fine. How can I achieve it in ios also?
1
votes
1 Answers
0
votes
In your Master Detail Page Xaml or CS file you need to set the attribute MasterBehaviour to be equal to the type Popover.
You must then on pressing the hamburger icon change the IsPresented variable from false to true or the reverse if you would like to slide the drawer out or back in.
Xamarin.Forms currently (v3.40) have a pretty terrible implementation of the MasterDetailPage I have raised issues on GitHub and I am currently working on a pull request to fix their bugs for them.