Working with platforms on MAUI
Greetings! Are there any options on how to make XAML adaptive for desktop and mobile applications? At the moment, I have found an option to make different pages for different platforms, as shown in the screenshots. I'm a beginner, so it would be interesting to find out.
2 Replies
You could try using OnIdiom in XAML or DeviceInfo.Idiom
This returns whether the user is on Phone, Tablet, Desktop, TV, Watch etc.
Ok, thanks