全局搜索
supportedInterfaceOrientations方法
然后替换成
// For ios6, use supportedInterfaceOrientations & shouldAutorotate instead
- (NSUInteger) supportedInterfaceOrientations{
#ifdef __IPHONE_6_0
//return UIInterfaceOrientationMaskLandscape;
return UIInterfaceOrientationMaskAllButUpsideDown;
#endif
}