|
@@ -288,9 +288,7 @@
|
|
UIAlertController *alertController = [UIAlertController alertControllerWithTitle:@"" message:NSLocalizedString(@"_want_exit_", nil) preferredStyle:UIAlertControllerStyleActionSheet];
|
|
UIAlertController *alertController = [UIAlertController alertControllerWithTitle:@"" message:NSLocalizedString(@"_want_exit_", nil) preferredStyle:UIAlertControllerStyleActionSheet];
|
|
|
|
|
|
[alertController addAction: [UIAlertAction actionWithTitle:NSLocalizedString(@"_ok_", nil) style:UIAlertActionStyleDestructive handler:^(UIAlertAction *action) {
|
|
[alertController addAction: [UIAlertAction actionWithTitle:NSLocalizedString(@"_ok_", nil) style:UIAlertActionStyleDestructive handler:^(UIAlertAction *action) {
|
|
-
|
|
|
|
- [[CCNetworking sharedNetworking] invalidateAndCancelAllSession];
|
|
|
|
-
|
|
|
|
|
|
+
|
|
[[NSURLCache sharedURLCache] setMemoryCapacity:0];
|
|
[[NSURLCache sharedURLCache] setMemoryCapacity:0];
|
|
[[NSURLCache sharedURLCache] setDiskCapacity:0];
|
|
[[NSURLCache sharedURLCache] setDiskCapacity:0];
|
|
[KTVHTTPCache cacheDeleteAllCaches];
|
|
[KTVHTTPCache cacheDeleteAllCaches];
|