delete
修改游戏不能横屏显示的问题

cocos2d ios6.0以上不支持横屏

1. 在AppDelegate.m文件添加方法

-(NSUInteger)supportedInterfaceOrientations
{
    return UIInterfaceOrientationMaskLandscape;
}

2. 然后在AppDelegate.m的
- (BOOL)application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions方法里面加上

 self.window.rootViewController = navController_;

    3.在CCProtocol.h l添加
-(NSUInteger)supportedInterfaceOrientations;的方法声明，用来嵌套回调。

    4.在CCDirectorIOS.m中添加
-(NSUInteger)supportedInterfaceOrientations{
    NSUInteger interfaceOrientation = UIInterfaceOrientationMaskAll;
    if( [delegate_ respondsToSelector:_cmd] )
        interfaceOrientation = (NSUInteger) [delegate_
supportedInterfaceOrientations];
    return interfaceOrientation;
}

- (BOOL)shouldAutorotate
{
    return YES;
}