From d4011d57513b011ac254e7205fb7817f57866b48 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 29 Oct 2014 08:22:59 -0700 Subject: Save application interface state when suspending. --- MobileCydia.mm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/MobileCydia.mm b/MobileCydia.mm index c74ed17..21414b6 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])$"); -- cgit v1.2.3