issue #753, update [windows addSubview:__glView] into box2d/chipmunk/lua xcode4 templates

This commit is contained in:
Walzer 2011-10-20 15:33:27 +08:00
parent 67bbbb2800
commit c1f67374c4
3 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ static AppDelegate s_sharedApplication;
viewController.view = __glView;
// Set RootViewController to window
window.rootViewController = viewController;
[window addSubview:__glView];
[window makeKeyAndVisible];
[[UIApplication sharedApplication] setStatusBarHidden: YES];

View File

@ -41,7 +41,7 @@ static AppDelegate s_sharedApplication;
viewController.view = __glView;
// Set RootViewController to window
window.rootViewController = viewController;
[window addSubview:__glView];
[window makeKeyAndVisible];
[[UIApplication sharedApplication] setStatusBarHidden: YES];

View File

@ -57,7 +57,7 @@ static AppDelegate s_sharedApplication;
viewController.view = __glView;
// Set RootViewController to window
window.rootViewController = viewController;
[window addSubview:__glView];
[window makeKeyAndVisible];
[[UIApplication sharedApplication] setStatusBarHidden: YES];