cocoaTouch/SDLOverrides/SDL_uikitappdelegate.m
changeset 3365 37ac593e9027
parent 3361 cfc6cd502f85
child 3374 0d522416d97f
equal deleted inserted replaced
3364:e5403e2bf02c 3365:37ac593e9027
   121     else
   121     else
   122         viewController = [[MainMenuViewController alloc] initWithNibName:@"MainMenuViewController-iPhone" bundle:nil];
   122         viewController = [[MainMenuViewController alloc] initWithNibName:@"MainMenuViewController-iPhone" bundle:nil];
   123 	[uiwindow addSubview:viewController.view];
   123 	[uiwindow addSubview:viewController.view];
   124 	
   124 	
   125 	// Set working directory to resource path
   125 	// Set working directory to resource path
   126 	[[NSFileManager defaultManager] changeCurrentDirectoryPath: [[NSBundle mainBundle] resourcePath]];
   126 	[[NSFileManager defaultManager] changeCurrentDirectoryPath:[[NSBundle mainBundle] resourcePath]];
   127 
   127 
   128 	[uiwindow makeKeyAndVisible];
   128 	[uiwindow makeKeyAndVisible];
   129 	[uiwindow layoutSubviews];
   129 	[uiwindow layoutSubviews];
   130 }
   130 }
   131 
   131