File tree 10 files changed +58
-0
lines changed
cpp-template-default/proj.ios_mac/ios
js-template-default/frameworks/runtime-src/proj.ios_mac/ios
lua-template-default/frameworks/runtime-src/proj.ios_mac/ios
game-controller-test/proj.ios
js-tests/project/proj.ios
lua-empty-test/project/proj.ios
lua-game-controller-test/project/proj.ios
lua-tests/project/proj.ios_mac/ios
performance-tests/proj.ios
10 files changed +58
-0
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,12 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
73
73
74
74
[[UIApplication sharedApplication ] setStatusBarHidden: true ];
75
75
76
+ // Launching the app with the arguments -NSAllowsDefaultLineBreakStrategy NO to force back to the old behavior.
77
+ if ( [[UIDevice currentDevice ].systemVersion floatValue ] >= 13 .0f )
78
+ {
79
+ [[NSUserDefaults standardUserDefaults ] setBool: NO forKey: @" NSAllowsDefaultLineBreakStrategy" ];
80
+ }
81
+
76
82
// IMPORTANT: Setting the GLView should be done after creating the RootViewController
77
83
cocos2d::GLView *glview = cocos2d::GLViewImpl::createWithEAGLView ((__bridge void *)_viewController.view );
78
84
cocos2d::Director::getInstance ()->setOpenGLView (glview);
Original file line number Diff line number Diff line change @@ -73,6 +73,12 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
73
73
74
74
[[UIApplication sharedApplication ] setStatusBarHidden: true ];
75
75
76
+ // Launching the app with the arguments -NSAllowsDefaultLineBreakStrategy NO to force back to the old behavior.
77
+ if ( [[UIDevice currentDevice ].systemVersion floatValue ] >= 13 .0f )
78
+ {
79
+ [[NSUserDefaults standardUserDefaults ] setBool: NO forKey: @" NSAllowsDefaultLineBreakStrategy" ];
80
+ }
81
+
76
82
// IMPORTANT: Setting the GLView should be done after creating the RootViewController
77
83
cocos2d::GLView *glview = cocos2d::GLViewImpl::createWithEAGLView ((__bridge void *)_viewController.view );
78
84
cocos2d::Director::getInstance ()->setOpenGLView (glview);
Original file line number Diff line number Diff line change @@ -72,6 +72,12 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
72
72
[window makeKeyAndVisible ];
73
73
74
74
[[UIApplication sharedApplication ] setStatusBarHidden: true ];
75
+
76
+ // Launching the app with the arguments -NSAllowsDefaultLineBreakStrategy NO to force back to the old behavior.
77
+ if ( [[UIDevice currentDevice ].systemVersion floatValue ] >= 13 .0f )
78
+ {
79
+ [[NSUserDefaults standardUserDefaults ] setBool: NO forKey: @" NSAllowsDefaultLineBreakStrategy" ];
80
+ }
75
81
76
82
// IMPORTANT: Setting the GLView should be done after creating the RootViewController
77
83
cocos2d::GLView *glview = cocos2d::GLViewImpl::createWithEAGLView ((__bridge void *)_viewController.view );
Original file line number Diff line number Diff line change @@ -78,6 +78,12 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
78
78
79
79
[[UIApplication sharedApplication ] setStatusBarHidden: YES ];
80
80
81
+ // Launching the app with the arguments -NSAllowsDefaultLineBreakStrategy NO to force back to the old behavior.
82
+ if ( [[UIDevice currentDevice ].systemVersion floatValue ] >= 13 .0f )
83
+ {
84
+ [[NSUserDefaults standardUserDefaults ] setBool: NO forKey: @" NSAllowsDefaultLineBreakStrategy" ];
85
+ }
86
+
81
87
// IMPORTANT: Setting the GLView should be done after creating the RootViewController
82
88
cocos2d::GLViewImpl *glview = cocos2d::GLViewImpl::createWithEAGLView (eaglView);
83
89
cocos2d::Director::getInstance ()->setOpenGLView (glview);
Original file line number Diff line number Diff line change @@ -76,6 +76,12 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
76
76
[[UIApplication sharedApplication ] setStatusBarHidden: YES ];
77
77
#endif
78
78
79
+ // Launching the app with the arguments -NSAllowsDefaultLineBreakStrategy NO to force back to the old behavior.
80
+ if ( [[UIDevice currentDevice ].systemVersion floatValue ] >= 13 .0f )
81
+ {
82
+ [[NSUserDefaults standardUserDefaults ] setBool: NO forKey: @" NSAllowsDefaultLineBreakStrategy" ];
83
+ }
84
+
79
85
// IMPORTANT: Setting the GLView should be done after creating the RootViewController
80
86
cocos2d::GLView *glview = cocos2d::GLViewImpl::createWithEAGLView (eaglView);
81
87
cocos2d::Director::getInstance ()->setOpenGLView (glview);
Original file line number Diff line number Diff line change @@ -82,6 +82,11 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
82
82
#if !defined(CC_TARGET_OS_TVOS)
83
83
[[UIApplication sharedApplication ] setStatusBarHidden: YES ];
84
84
#endif
85
+ // Launching the app with the arguments -NSAllowsDefaultLineBreakStrategy NO to force back to the old behavior.
86
+ if ( [[UIDevice currentDevice ].systemVersion floatValue ] >= 13 .0f )
87
+ {
88
+ [[NSUserDefaults standardUserDefaults ] setBool: NO forKey: @" NSAllowsDefaultLineBreakStrategy" ];
89
+ }
85
90
86
91
// IMPORTANT: Setting the GLView should be done after creating the RootViewController
87
92
cocos2d::GLView *glview = cocos2d::GLViewImpl::createWithEAGLView (eaglView);
Original file line number Diff line number Diff line change @@ -76,6 +76,12 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
76
76
77
77
[[UIApplication sharedApplication ] setStatusBarHidden: YES ];
78
78
79
+ // Launching the app with the arguments -NSAllowsDefaultLineBreakStrategy NO to force back to the old behavior.
80
+ if ( [[UIDevice currentDevice ].systemVersion floatValue ] >= 13 .0f )
81
+ {
82
+ [[NSUserDefaults standardUserDefaults ] setBool: NO forKey: @" NSAllowsDefaultLineBreakStrategy" ];
83
+ }
84
+
79
85
// IMPORTANT: Setting the GLView should be done after creating the RootViewController
80
86
cocos2d::GLView *glview = cocos2d::GLViewImpl::createWithEAGLView (eaglView);
81
87
cocos2d::Director::getInstance ()->setOpenGLView (glview);
Original file line number Diff line number Diff line change @@ -73,6 +73,12 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
73
73
74
74
[[UIApplication sharedApplication ] setStatusBarHidden: YES ];
75
75
76
+ // Launching the app with the arguments -NSAllowsDefaultLineBreakStrategy NO to force back to the old behavior.
77
+ if ( [[UIDevice currentDevice ].systemVersion floatValue ] >= 13 .0f )
78
+ {
79
+ [[NSUserDefaults standardUserDefaults ] setBool: NO forKey: @" NSAllowsDefaultLineBreakStrategy" ];
80
+ }
81
+
76
82
// IMPORTANT: Setting the GLView should be done after creating the RootViewController
77
83
cocos2d::GLView *glview = cocos2d::GLViewImpl::createWithEAGLView (eaglView);
78
84
cocos2d::Director::getInstance ()->setOpenGLView (glview);
Original file line number Diff line number Diff line change @@ -84,6 +84,11 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
84
84
[[UIApplication sharedApplication ] setStatusBarHidden: YES ];
85
85
#endif
86
86
87
+ // Launching the app with the arguments -NSAllowsDefaultLineBreakStrategy NO to force back to the old behavior.
88
+ if ( [[UIDevice currentDevice ].systemVersion floatValue ] >= 13 .0f )
89
+ {
90
+ [[NSUserDefaults standardUserDefaults ] setBool: NO forKey: @" NSAllowsDefaultLineBreakStrategy" ];
91
+ }
87
92
88
93
// IMPORTANT: Setting the GLView should be done after creating the RootViewController
89
94
cocos2d::GLView *glview = cocos2d::GLViewImpl::createWithEAGLView (eaglView);
Original file line number Diff line number Diff line change @@ -81,6 +81,12 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
81
81
82
82
[[UIApplication sharedApplication ] setStatusBarHidden: true ];
83
83
84
+ // Launching the app with the arguments -NSAllowsDefaultLineBreakStrategy NO to force back to the old behavior.
85
+ if ( [[UIDevice currentDevice ].systemVersion floatValue ] >= 13 .0f )
86
+ {
87
+ [[NSUserDefaults standardUserDefaults ] setBool: NO forKey: @" NSAllowsDefaultLineBreakStrategy" ];
88
+ }
89
+
84
90
// IMPORTANT: Setting the GLView should be done after creating the RootViewController
85
91
cocos2d::GLView *glview = cocos2d::GLViewImpl::createWithEAGLView (eaglView);
86
92
cocos2d::Director::getInstance ()->setOpenGLView (glview);
You can’t perform that action at this time.
0 commit comments