Browse Source

1.修改iOS RAImage上传设置。

Pen Li 7 years ago
parent
commit
086dead5d5
1 changed files with 1 additions and 6 deletions
  1. 1 6
      RA Image/RA Image/AppDelegate.m

+ 1 - 6
RA Image/RA Image/AppDelegate.m

@@ -158,12 +158,7 @@ void UncaughtExceptionHandler(NSException *exception) {
     self.rootVC = self.window.rootViewController;
     
 //    self.uploadManager.maxRetry = 2;
-    BOOL compress = YES;
-    NSDictionary *param = [[NSUserDefaults standardUserDefaults] objectForKey:kUploadSetting];
-    if (param) {
-        compress = [[param objectForKey:@"compress_img"] boolValue];
-    }
-    self.compressFile = compress;
+    self.compressFile = [[RAUPloadManagerConfigure alloc] init].compressImage;
     
     return YES;
 }