AppController.mm 修改如下:
float pointScreenWidth = 1136/scaleX;
float pointScreenHeight = 640/scaleY;

__glView = [EAGLView viewWithFrame: CGRectMake(0, 0, 480 ,320)
__glView.frame = CGRectMake(0,0,1024, 768);//屏幕窗口

AppInformation::getInstance()->setOriginScreenWidthAndHeight(480,320, scaleY,scaleX);
AppInformation::getInstance()->setOriginScreenWidthAndHeight( 480,320,1,1);

application.applicationIconBadgeNumber = 0;//应用程序右上角的数字=0(消失)

[[UIApplication sharedApplication] cancelAllLocalNotifications];//取消所有的通知

//if(!application.enabledRemoteNotificationTypes){
// NSLog(@”Initiating remoteNoticationssAreActive1″);
[[UIApplication sharedApplication] registerForRemoteNotificationTypes:(UIRemoteNotificationType)(UIRemoteNotificationTypeBadge| UIRemoteNotificationTypeSound | UIRemoteNotificationTypeAlert)];

AppDelegate.cpp 修改如下
// pDirector->setDeviceOrientation(kCCDeviceOrientationPortrait);
pDirector->setDeviceOrientation(kCCDeviceOrientationLandscapeLeft);