【发布时间】:2016-09-23 12:05:03
【问题描述】:
我最初将 Orientation 设置为 AutoRotation,允许 LandscapeRight 和 LandscapeLeft。
Screen.orientation = ScreenOrientation.Portrait
Screen.orientation = ScreenOrientation.AutoRotation
当我将 Screen.orientation 更改为 Portrait 并恢复为 Autorotation 时,屏幕会保持纵向,直到我旋转手机。
这个问题只发生在安卓设备上。
【问题讨论】: