diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2014-10-29 08:22:59 -0700 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2014-10-29 08:22:59 -0700 |
commit | d4011d57513b011ac254e7205fb7817f57866b48 (patch) | |
tree | a4b961b25c23e5efa536d632f4c4c41ddfcff01c | |
parent | d331bfc3c3efdde44dfd4e81c50703e51f958a2f (diff) |
Save application interface state when suspending.
-rw-r--r-- | MobileCydia.mm | 7 |
1 files changed, 7 insertions, 0 deletions
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])$"); |