【发布时间】:2015-04-27 15:20:56
【问题描述】:
我在 unity3d 上创建了 windows phone 8.1 游戏。它仅支持横向。但我需要在我的游戏中使用WebView 才能以纵向模式加载页面。
如何强制WebView以纵向模式加载内容?
【问题讨论】:
标签: xaml unity3d windows-8.1
我在 unity3d 上创建了 windows phone 8.1 游戏。它仅支持横向。但我需要在我的游戏中使用WebView 才能以纵向模式加载页面。
如何强制WebView以纵向模式加载内容?
【问题讨论】:
标签: xaml unity3d windows-8.1
这不是我需要的,但我现在使用
DisplayInformation.AutoRotationPreferences = DisplayOrientations.Portrait;
当 WebView 加载页面时,
DisplayInformation.AutoRotationPreferences = DisplayOrientations.Landscape;
当关闭 WebView 并返回游戏时。
【讨论】: