From: Jay Freeman (saurik) Date: Wed, 29 Oct 2014 15:22:59 +0000 (-0700) Subject: Save application interface state when suspending. X-Git-Tag: v1.1.14~18 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/d4011d57513b011ac254e7205fb7817f57866b48?ds=inline Save application interface state when suspending. --- diff --git a/MobileCydia.mm b/MobileCydia.mm index c74ed17a..21414b6c 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -9720,6 +9720,13 @@ _end [self saveState]; } +- (void) applicationDidEnterBackground:(UIApplication *)application { + [self saveState]; +} + +- (void) applicationWillEnterForeground:(UIApplication *)application { +} + - (void) setConfigurationData:(NSString *)data { static Pcre conffile_r("^'(.*)' '(.*)' ([01]) ([01])$");