diff --git a/cocos2dx/cocos2d.cpp b/cocos2dx/cocos2d.cpp index 3d374740de..8098d77eca 100644 --- a/cocos2dx/cocos2d.cpp +++ b/cocos2dx/cocos2d.cpp @@ -30,7 +30,7 @@ NS_CC_BEGIN const char* cocos2dVersion() { - return "cocos2d-2.0-x-2.0.3"; + return "cocos2d-2.0-x-2.0.4"; } NS_CC_END diff --git a/template/xcode4/base_ios.xctemplate/ios/RootViewController.mm b/template/xcode4/base_ios.xctemplate/ios/RootViewController.mm index 4c6f6f9224..ae0bf611c2 100644 --- a/template/xcode4/base_ios.xctemplate/ios/RootViewController.mm +++ b/template/xcode4/base_ios.xctemplate/ios/RootViewController.mm @@ -43,7 +43,7 @@ // For ios6, use supportedInterfaceOrientations & shouldAutorotate instead - (NSUInteger) supportedInterfaceOrientations{ #ifdef __IPHONE_6_0 - return UIInterfaceOrientationMaskAllButUpsideDown; + return UIInterfaceOrientationMaskLandscape; #endif } diff --git a/template/xcode4/lib_cocos2dx.xctemplate/TemplateInfo.plist.REMOVED.git-id b/template/xcode4/lib_cocos2dx.xctemplate/TemplateInfo.plist.REMOVED.git-id index 5fac254010..fd36abefe7 100644 --- a/template/xcode4/lib_cocos2dx.xctemplate/TemplateInfo.plist.REMOVED.git-id +++ b/template/xcode4/lib_cocos2dx.xctemplate/TemplateInfo.plist.REMOVED.git-id @@ -1 +1 @@ -e21d47625e1d0fac0c02ae37e976a4935d307012 \ No newline at end of file +7cf9610a6d9c4fc01d7d0cf0558a9d4ef0a2461e \ No newline at end of file