ソースを参照

1.逻辑补充

huangxiaodong 1 年間 前
コミット
e6b8fc9272

+ 1 - 1
创维盒子/双子星云手机/Class/Set/uploadFile/fileTransfeSet/fileTransfeSetViewController.m

@@ -40,7 +40,7 @@
         make.top.equalTo(self.navBarBGView.mas_bottom).offset(10.f);
     }];
     
-    self.tableView.tableFooterView = [self tailView];
+    //self.tableView.tableFooterView = [self tailView];
 }
 
 #pragma mark - 懒加载

+ 10 - 0
创维盒子/双子星云手机/CloudPlayer/PlayerViewController+upLoadFile.m

@@ -295,6 +295,16 @@
 #pragma mark 处理上传过程
 - (void)handleUploadingFun:(NSNumber*)fileLengthNum
 {
+    BOOL isCanUseCellular = [HWDataManager getBoolWithKey:Const_file_Transfe_canUse_Cellular];
+    
+    if(!isCanUseCellular){//不允许流量备份
+        //
+        if([AFNetworkReachabilityManager sharedManager].networkReachabilityStatus == AFNetworkReachabilityStatusReachableViaWWAN){
+            self.isSuspendUploadType = YES;
+        }
+        
+    }
+    
     if(self.isSuspendUploadType){
         //暂停
         self.taskUid = nil;