![](/img/trans.png)
[英]How to restore right orientation of the UIViewController after orientation was forced to landscape by another (iOS)?
我遇到的問題有點奇怪,我似乎找不到任何好的解決方案。 所以我有兩個 UIViewControllers,一個允許所有方向,另一個只能橫向查看 如果我在 ViewController1 上處於縱向模式,並且我按下 VC2,它會旋轉得很好,但是當我離開 VC2 時,即使設備本身處於縱向模式,VC1 ...