cocoaTouch/SDLOverrides/SDL_uikitappdelegate.m
changeset 2689 dfda97c153a4
parent 2688 174c94b8ea72
child 2691 c0da3a98c01c
equal deleted inserted replaced
2688:174c94b8ea72 2689:dfda97c153a4
    79 -(void) applicationDidFinishLaunching:(UIApplication *)application {
    79 -(void) applicationDidFinishLaunching:(UIApplication *)application {
    80 	[application setStatusBarHidden:YES animated:NO];
    80 	[application setStatusBarHidden:YES animated:NO];
    81 
    81 
    82 	/* Set working directory to resource path */
    82 	/* Set working directory to resource path */
    83 	[[NSFileManager defaultManager] changeCurrentDirectoryPath: [[NSBundle mainBundle] resourcePath]];
    83 	[[NSFileManager defaultManager] changeCurrentDirectoryPath: [[NSBundle mainBundle] resourcePath]];
       
    84 //#import "SoundEffect.h"	
       
    85 //	SoundEffect *erasingSound = [[SoundEffect alloc] initWithContentsOfFile:[mainBundle pathForResource:@"Erase" ofType:@"caf"]];
       
    86 //	SoundEffect *selectSound = [[SoundEffect alloc] initWithContentsOfFile:[mainBundle pathForResource:@"Select" ofType:@"caf"]];
    84 	
    87 	
    85 	[window addSubview:controller.view];
    88 	[window addSubview:controller.view];
    86 	[window makeKeyAndVisible];
    89 	[window makeKeyAndVisible];
    87 }
    90 }
    88 
    91