unoplatform/uno

Support `SimpleOrientationSensor.ReadingTransform`

Open

#16,069 opened on Mar 29, 2024

View on GitHub
 (4 comments) (0 reactions) (1 assignee)C# (9,789 stars) (837 forks)batch import
difficulty/starter 🚀good first issuekind/enhancementproject/non-ui ⚙️

Description

What would you like to be added

SimpleOrientationSensor.ReadingTransform is currently not implemented. And on WinUI SimpleOrientationSensor does not exist at all.

I propose to grab MAUI code and implement that in Uno

Why is this needed

To be able to get what is the device orientation to perform some UI adjustments

For which platform

WebAssembly, Android, iOS, macOS (AppKit), Mac Catalyst, Skia (WPF), Windows

Anything else we need to know?

No response

Contributor guide