cocoaTouch/SDLOverrides/SDL_uikitappdelegate.m
changeset 3270 9bd8fb1707b9
parent 3250 d5cd1a617123
child 3305 91074496d5c9
equal deleted inserted replaced
3269:258d7f87c96e 3270:9bd8fb1707b9
   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 setStatusBarHidden:YES];
   107     [application setStatusBarOrientation:UIInterfaceOrientationLandscapeRight animated:NO];  
   108     [application setStatusBarOrientation:UIInterfaceOrientationLandscapeRight animated:NO];  
   108 		
   109 		
   109 	self.uiwindow = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
   110 	self.uiwindow = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
   110 	self.uiwindow.backgroundColor = [UIColor blackColor];
   111 	self.uiwindow.backgroundColor = [UIColor blackColor];
   111 	
   112