cocoaTouch/SDLOverrides/SDL_uikitappdelegate.m
changeset 3199 1a9938a27677
parent 3122 e005359efc59
child 3250 d5cd1a617123
equal deleted inserted replaced
3198:6947d29c2a24 3199:1a9938a27677
   101 }
   101 }
   102 
   102 
   103 // override the direct execution of SDL_main to allow us to implement the frontend (even using a nib)
   103 // override the direct execution of SDL_main to allow us to implement the frontend (even using a nib)
   104 -(void) applicationDidFinishLaunching:(UIApplication *)application {
   104 -(void) applicationDidFinishLaunching:(UIApplication *)application {
   105 	//[application setStatusBarHidden:YES animated:NO];
   105 	//[application setStatusBarHidden:YES animated:NO];
   106     [application setStatusBarHidden:YES withAnimation:NO];
   106     //[application setStatusBarHidden:YES withAnimation:NO];
   107     [application setStatusBarOrientation:UIInterfaceOrientationLandscapeRight animated:NO];  
   107     [application setStatusBarOrientation:UIInterfaceOrientationLandscapeRight animated:NO];  
   108 		
   108 		
   109 	self.uiwindow = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
   109 	self.uiwindow = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
   110 	self.uiwindow.backgroundColor = [UIColor blackColor];
   110 	self.uiwindow.backgroundColor = [UIColor blackColor];
   111 	
   111