From d4011d57513b011ac254e7205fb7817f57866b48 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 29 Oct 2014 08:22:59 -0700 Subject: [PATCH] Save application interface state when suspending. --- MobileCydia.mm | 7 +++++++ 1 file changed, 7 insertions(+) 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])$"); -- 2.45.2