Reputation:
I don't want my app to rotate when the user flips the phone. It should stay in portrait orientation. I don't have other rotations supported in the .appxmanifest
, so why would it still rotate? How would I tell it not to?
Upvotes: 0
Views: 222
Reputation: 851
Use this
DisplayInformation.AutoRotationPreferences = DisplayOrientations.Portrait;
Upvotes: 2