在RootViewController.m里面,在shouldAutorotateToInterfaceOrientation:方法里面,找到#elif GAME_AUTOROTATION == kGameAutorotationUIViewController这个宏判断
然后把 return (UIInterfaceOrientationIsLandscape(interfaceOrientation));
改成
return (UIInterfaceOrientationIsPortrait(interfaceOrientation));
然后把 return (UIInterfaceOrientationIsLandscape(interfaceOrientation));
改成
return (UIInterfaceOrientationIsPortrait(interfaceOrientation));