1、iOS6以後UIViewController 旋轉處理
一、view controller 是否支持自動旋轉
- (BOOL)shouldAutorotate;
二、view controller 支持哪幾種
- (NSUInteger)supportedInterfaceOrientations;
在UIApplication中定義了屏幕方向相關的枚舉
UIInterfaceOrientationMask枚舉類型 定義了支持的屏幕類型
UIInterfaceOrientation枚舉類型 定義了屏幕類型
2、iOS6以後旋轉老是由view controller的根視圖處理
3、iOS6以後還須要在plist配置文件中添加屏幕支持的旋轉類型3d