소스 검색

iOS Apex Mobile 2.92

Ray Zhang 5 년 전
부모
커밋
d0744697c7
3개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      common/ScannerViewController.m
  2. 3 1
      common/WK PDF+Web/RAPDFViewController.m
  3. 1 1
      common/upload/RAUploadManager.m

+ 1 - 1
common/ScannerViewController.m

@@ -66,7 +66,7 @@
     [super didRotateFromInterfaceOrientation:fromInterfaceOrientation];
     CGRect rect=self.view.bounds;
     
-    DebugLog(NSStringFromCGRect(self.focusZone.frame));
+    DebugLog(@"%@",NSStringFromCGRect(self.focusZone.frame));
     //    rect.origin.y=rect.origin.y+40;
     //    rect.size.height = rect.size.height-40;
     

+ 3 - 1
common/WK PDF+Web/RAPDFViewController.m

@@ -256,7 +256,9 @@
             else
             {
                 
-                [RANetwork request_fastdownload:nil url:self.url completionHandler:^(NSMutableDictionary *result) {
+                
+                
+                [RANetwork request_file_fast:self.url parameters:nil completionHandler:^(NSMutableDictionary *result) {
                     self.content= result[@"data"];
                     if(self.filename.length<=0)
                         self.filename = result[@"suggestedFilename"];

+ 1 - 1
common/upload/RAUploadManager.m

@@ -635,7 +635,7 @@ static RAUploadManager *sharedInstance;
 
     task[@"msg"] = nil;
     
-    task[@"status"] = [NSNumber numberWithInt:self.newtaskStatus] ;
+    task[@"status"] = [NSNumber numberWithInt:(int)self.newtaskStatus] ;
 //    [self saveTasks];
     task[@"operation"] = operation;
     [self.operation_queue addOperation:operation];