win universal app - Lock screen orientation programmatically on Windows 10 -


is there way programmatically lock screen orientation in windows 10 universal app?

we need lock screen orientation portrait mode on phone. on non-phone can rotate.

check out answer post: universal app windows phone orientation

under winrt can have @ displayinformation class, find need.

you can declare supported rotations in package.appxmanifest file in supported rotations.

here can download example of app 3 pages, each different orientation.


Comments