C
C#5mo ago
plushechka

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.
No description
No description
2 Replies
universalappco
universalappco5mo ago
You could try using OnIdiom in XAML or DeviceInfo.Idiom This returns whether the user is on Phone, Tablet, Desktop, TV, Watch etc.
plushechka
plushechka5mo ago
Ok, thanks