diff -r 92b023095153 -r 402baa6d4f64 project_files/HedgewarsMobile/Classes/HedgewarsAppDelegate.m --- a/project_files/HedgewarsMobile/Classes/HedgewarsAppDelegate.m Thu Nov 05 21:54:19 2015 +0100 +++ b/project_files/HedgewarsMobile/Classes/HedgewarsAppDelegate.m Fri Nov 06 00:12:37 2015 +0100 @@ -19,7 +19,7 @@ #import "HedgewarsAppDelegate.h" #import "MainMenuViewController.h" - +#import "Appirater.h" @implementation SDLUIKitDelegate (customDelegate) @@ -50,7 +50,16 @@ } // override the direct execution of SDL_main to allow us to implement our own frontend --(void) postFinishLaunch { +-(void) postFinishLaunch +{ + // Setup Appirater + [Appirater setAppId:@"391234866"]; + [Appirater setDaysUntilPrompt:3]; + [Appirater setUsesUntilPrompt:5]; + [Appirater setSignificantEventsUntilPrompt:-1]; + [Appirater setTimeBeforeReminding:1]; + //[Appirater setDebug:YES]; + [self performSelector:@selector(hideLaunchScreen) withObject:nil afterDelay:0.0]; [[UIApplication sharedApplication] setStatusBarHidden:YES];