- Fix for hiding launch window after launch and not blocking SDL window on engine anymore ios-revival
authorantonc27 <antonc27@mail.ru>
Mon, 10 Aug 2015 22:49:52 +0200
branchios-revival
changeset 11105 379226b854ae
parent 11104 eea0481d2ae1
child 11106 2953f858a196
- Fix for hiding launch window after launch and not blocking SDL window on engine anymore
project_files/HedgewarsMobile/Classes/HedgewarsAppDelegate.m
--- a/project_files/HedgewarsMobile/Classes/HedgewarsAppDelegate.m	Mon Aug 10 22:48:02 2015 +0200
+++ b/project_files/HedgewarsMobile/Classes/HedgewarsAppDelegate.m	Mon Aug 10 22:49:52 2015 +0200
@@ -51,7 +51,7 @@
 
 // override the direct execution of SDL_main to allow us to implement our own frontend
 -(void) postFinishLaunch {
-    [super postFinishLaunch];
+    [self performSelector:@selector(hideLaunchScreen) withObject:nil afterDelay:0.0];
     
     [[UIApplication sharedApplication] setStatusBarHidden:YES];