|
@@ -42,6 +42,7 @@
|
|
|
#import "previewFileAndFolderViewController.h"
|
|
|
#import "shareRecordViewController.h"
|
|
|
#import "backupsOptionViewController.h"
|
|
|
+#import "customDownloadCacheManager.h"
|
|
|
|
|
|
@interface MySetViewController ()<HelpDownScrollViewDelegate,UITableViewDelegate,UITableViewDataSource,ComontAlretViewControllerDelegate>
|
|
|
{
|
|
@@ -985,7 +986,12 @@
|
|
|
|
|
|
[[NSFileManager defaultManager] removeItemAtPath:downLoadThumbnailPath error:nil];
|
|
|
|
|
|
- long clearTotal = logSize1 + logSize2 + logSize3;
|
|
|
+ NSString *downLoadNasDowmPath = [customDownloadCacheManager getFullDirector];
|
|
|
+ long logSize4 = [iTools folderSizeAtPath:downLoadNasDowmPath];
|
|
|
+
|
|
|
+ [[NSFileManager defaultManager] removeItemAtPath:downLoadNasDowmPath error:nil];
|
|
|
+
|
|
|
+ long clearTotal = logSize1 + logSize2 + logSize3 +logSize4 ;
|
|
|
|
|
|
if(isSelectFileTransfer){
|
|
|
[self clearCacheByFileTransferFun:clearTotal];
|