W
W
wolfak2014-10-26 12:57:48
Microsoft
wolfak, 2014-10-26 12:57:48

How to programmatically change screen orientation (Windows, JS)?

There was a need to programmatically change the screen orientation to landscape.
JavaScript programming language. Windows Phone 8.1 (or Windows 8.1 there is no difference)
I looked around all the material, I did not find how to do it. Everywhere there is information on how to find sensor readings about changing the orientation of the device, but I need to change the screen orientation regardless of the device orientation.
Detailed explanations of the orientation change functions are needed, preferably with examples.
Thanks for your help, in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Zenkov, 2014-10-27
@andreyzenkov

Here is the article - davidwalsh.name/orientation-change

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question