diff options
Diffstat (limited to 'Classes/Cart_CollectAppDelegate.m')
| -rwxr-xr-x | Classes/Cart_CollectAppDelegate.m | 3 |
1 files changed, 2 insertions, 1 deletions
| diff --git a/Classes/Cart_CollectAppDelegate.m b/Classes/Cart_CollectAppDelegate.m index 25a2aa4..c92d231 100755 --- a/Classes/Cart_CollectAppDelegate.m +++ b/Classes/Cart_CollectAppDelegate.m | |||
| @@ -114,7 +114,8 @@ | |||
| 114 | [viewController setView:glView]; | 114 | [viewController setView:glView]; |
| 115 | 115 | ||
| 116 | // make the View Controller a child of the main window | 116 | // make the View Controller a child of the main window |
| 117 | [window addSubview: viewController.view]; | 117 | [window setRootViewController:viewController]; |
| 118 | //[window addSubview: viewController.view]; | ||
| 118 | 119 | ||
| 119 | [window makeKeyAndVisible]; | 120 | [window makeKeyAndVisible]; |
| 120 | 121 | ||
