locked
iPad Split Screen 50/50 not working correct with MasterDetailPage - only showing master page RRS feed

  • Question

  • User258392 posted

    I have Xamarin.Forms app that uses MasterDetailPage. On iPad, when using split screen set to 50/50 divide, application only shows master page, when I touch any list item, details page does not pop up.

    Expected behavior would be to use either Popover style like in phone or master slide in from left.

    When split is 75/25% application displays details page and master list can be slided in from left.

    I have tested it with skeleton app copy pasted from documentation so any master/detail app should behave same.

    Thursday, September 14, 2017 9:35 AM

All replies

  • User348932 posted

    Thank you for posting the question, I am having the same problem. Has anyone used MasterDetailPage and split screen/multitasking on iOS successfully?

    Thank you.

    Monday, September 18, 2017 11:20 AM
  • User89714 posted

    I don't use MasterDetailPage in my own app (I wrote my own equivalent), but I've just run a quick test using the Xamarin.Forms.MasterDetailPage using MasterBehavior.Split on iOS. Using XF 2.3.4.267, it works fine on my iPad in both landscape and portrait orientations. The split isn't 50:50, but I haven't seen any documentation that says it is expected to be.

    If you're having problems with MasterDetailPage, post your code for people to review.

    Monday, September 18, 2017 5:36 PM
  • User258392 posted

    The 50:50 split is the only place where problem exists. Even this sample exhibits the behavior (cannot see details pane when split is 50/50).

    https://github.com/xamarin/xamarin-forms-samples/tree/master/Navigation/MasterDetailPage

    Tuesday, September 19, 2017 7:59 AM
  • User89714 posted

    @TomaszB2 - Are you using MasterBehavior.Split. or MasterBehavior.Popover or MasterBehavior.Default?

    What version of XF are you using?

    Tuesday, September 19, 2017 11:54 AM
  • User258392 posted

    To be honest I tried setting it to all of those behaviors. Not sure if this is debugger flaw but in the end it was always auto-set to default behavior on Tablet - this is what I saw on breakpoint. XF were updated to lastest production version (not beta, etc).

    Tuesday, September 19, 2017 12:27 PM
  • User89714 posted

    @TomaszB2 - Using MasterBehavior.Split with 2.3.4.267 it appears to work as expected on iPad. I haven't tried 2.3.4.270 yet, as I haven't had a need to do that update yet.

    Tuesday, September 19, 2017 12:30 PM
  • User278535 posted

    I'm having this exact issue only on 50/50. Did you ever find a solution? I am using the latest Xamarin Forms.

    Monday, November 25, 2019 5:25 PM