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

Xamarin.Essentials OrientationSensor - Just want a simple orientation of Landscape or Portrait

$
0
0

Am I just nuts or does it seem like this would be a place where 99% of users could get the device orienation changes in a cross-platform way?
Seems like an essential thing.
Its for Orientation.
Have you read the documentation?
https://docs.microsoft.com/en-us/xamarin/essentials/orientation-sensor?context=xamarin/xamarin-forms

This thing gives you some amazingly awesome power and information. Wonderful if you're doing a flight sim or game etc.

But if you just want to know is the device being held in Landscape or Portrait you have to take a PhD course in Gallifraen Hyperspacial Geometry.

Is there a simple way for the average developer to take this information and determine if the device is Landscape, LandscapeFlipped, Portrait, Porttrait flipped?


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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