Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 75885

How can I get the MasterDetailPage to behave itself in split view on iPad?

$
0
0

I've got an app that's using the Xamarin Forms MasterDetailPage to layout a slide-over burger menu on phones and a popover on tablets. But when I open the app in split view on an iPad, it falls down. If it launches from scratch, it only shows the master content, but if it just resumes, it still behaves like it's in fullscreen.

I opened up the MasterDetailPage in the Assembly Browser, and ShouldShowSplitMode appears to depend on the device idiom. How can I override this to make it depend on the size class information in a trait collection on iOS? Or should it be doing this on its own?


Viewing all articles
Browse latest Browse all 75885

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>