My app can work with both orientations. But it should not be possible to change the orientation by moving the device.
The user can manually choose the orientation and saves it. At the next app start the app should use this screenorientation.
If the user changed the orientation the app should use the new orientation (or at the next start).
During runtime of the app the orientation should not can be changed by moving the device.
How can I do that?
Greetings
Lutz
The user can manually choose the orientation and saves it. At the next app start the app should use this screenorientation.
If the user changed the orientation the app should use the new orientation (or at the next start).
During runtime of the app the orientation should not can be changed by moving the device.
How can I do that?
Greetings
Lutz