我的应用只有肖像。我需要在横向模式下呈现一个UIViewController(原因是我正在使用Core-Plotsdk在该ViewController上绘制图形,因此它需要处于横向模式)。我尝试了以下方法,效果很好。但问题是,当我关闭横向ViewController时,应用无法强制进入纵向模式。http://www.sebastianborggrewe.de/only-make-one-single-view-controller-rotate/http://b2cloud.com.au/tutorial/forcing-uiviewcontroller-orientation/在关闭