Sfoglia il codice sorgente

1.RedAnt Mobile导入RA Image按钮图标。
2.RedAnt Mobile修改启动初始化UploadManager。

Pen Li 8 anni fa
parent
commit
f7ef8d3fb8
54 ha cambiato i file con 379 aggiunte e 25 eliminazioni
  1. 98 16
      RedAnt Mobile/RedAnt Mobile.xcodeproj/project.pbxproj
  2. BIN
      RedAnt Mobile/RedAnt Mobile.xcodeproj/project.xcworkspace/xcuserdata/macmini1.xcuserdatad/UserInterfaceState.xcuserstate
  3. 27 0
      RedAnt Mobile/RedAnt Mobile/AppDelegate.m
  4. 18 9
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/AppIcon.appiconset/Contents.json
  5. BIN
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/AppIcon.appiconset/appicon-1.png
  6. BIN
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/AppIcon.appiconset/appicon-2.png
  7. BIN
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/AppIcon.appiconset/appicon-3.png
  8. BIN
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/AppIcon.appiconset/appicon-4.png
  9. BIN
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/AppIcon.appiconset/appicon-5.png
  10. BIN
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/AppIcon.appiconset/appicon-6.png
  11. BIN
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/AppIcon.appiconset/appicon-7.png
  12. BIN
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/AppIcon.appiconset/appicon.png
  13. BIN
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/AppIcon.appiconset/red1.png
  14. 23 0
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/camera.imageset/Contents.json
  15. BIN
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/camera.imageset/camera.png
  16. BIN
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/camera.imageset/camera@2x.png
  17. BIN
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/camera.imageset/camera@3x.png
  18. 23 0
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/checkbox.imageset/Contents.json
  19. BIN
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/checkbox.imageset/checkbox.png
  20. BIN
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/checkbox.imageset/checkbox@2x.png
  21. BIN
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/checkbox.imageset/checkbox@3x.png
  22. 23 0
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/checkbox_check.imageset/Contents.json
  23. BIN
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/checkbox_check.imageset/checkbox_check.png
  24. BIN
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/checkbox_check.imageset/checkbox_check@2x.png
  25. BIN
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/checkbox_check.imageset/checkbox_check@3x.png
  26. 23 0
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/flash_auto.imageset/Contents.json
  27. BIN
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/flash_auto.imageset/flash_auto.png
  28. BIN
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/flash_auto.imageset/flash_auto@2x.png
  29. BIN
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/flash_auto.imageset/flash_auto@3x.png
  30. 23 0
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/flash_off.imageset/Contents.json
  31. BIN
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/flash_off.imageset/flash_off.png
  32. BIN
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/flash_off.imageset/flash_off@2x.png
  33. BIN
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/flash_off.imageset/flash_off@3x.png
  34. 23 0
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/flash_on.imageset/Contents.json
  35. BIN
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/flash_on.imageset/flash_on.png
  36. BIN
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/flash_on.imageset/flash_on@2x.png
  37. BIN
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/flash_on.imageset/flash_on@3x.png
  38. 23 0
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/redAnt.imageset/Contents.json
  39. BIN
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/redAnt.imageset/redAnt.png
  40. BIN
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/redAnt.imageset/redAnt@2x.png
  41. BIN
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/redAnt.imageset/redAnt@3x.png
  42. 23 0
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/scan.imageset/Contents.json
  43. BIN
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/scan.imageset/scan.png
  44. BIN
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/scan.imageset/scan@2x.png
  45. BIN
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/scan.imageset/scan@3x.png
  46. 23 0
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/take_photo.imageset/Contents.json
  47. BIN
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/take_photo.imageset/take_photo.png
  48. BIN
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/take_photo.imageset/take_photo@2x.png
  49. BIN
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/take_photo.imageset/take_photo@3x.png
  50. 23 0
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/upload.imageset/Contents.json
  51. BIN
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/upload.imageset/upload.png
  52. BIN
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/upload.imageset/upload@2x.png
  53. BIN
      RedAnt Mobile/RedAnt Mobile/Assets.xcassets/upload.imageset/upload@3x.png
  54. 6 0
      RedAnt Mobile/RedAnt Mobile/Info.plist

+ 98 - 16
RedAnt Mobile/RedAnt Mobile.xcodeproj/project.pbxproj

@@ -33,6 +33,12 @@
 		42D64CB71FD0FEB5003F49F9 /* PhotoList.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 42D64CB01FD0FEB4003F49F9 /* PhotoList.storyboard */; };
 		42D64CB81FD0FEB5003F49F9 /* PhotoPreviewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 42D64CB31FD0FEB4003F49F9 /* PhotoPreviewCell.m */; };
 		42D64CB91FD0FEB5003F49F9 /* VideoPreviewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 42D64CB51FD0FEB4003F49F9 /* VideoPreviewCell.m */; };
+		42D64CCE1FD12BCF003F49F9 /* NewPhotoPreviewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 42D64CC41FD12BCE003F49F9 /* NewPhotoPreviewController.m */; };
+		42D64CCF1FD12BCF003F49F9 /* PhotoPreviewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 42D64CC61FD12BCE003F49F9 /* PhotoPreviewController.m */; };
+		42D64CD01FD12BCF003F49F9 /* RAImagePhotoPreviewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 42D64CC71FD12BCE003F49F9 /* RAImagePhotoPreviewCell.m */; };
+		42D64CD11FD12BCF003F49F9 /* RAImage_PhotoList.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 42D64CC81FD12BCE003F49F9 /* RAImage_PhotoList.storyboard */; };
+		42D64CD21FD12BCF003F49F9 /* PhotoCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 42D64CCB1FD12BCE003F49F9 /* PhotoCell.m */; };
+		42D64CD31FD12BCF003F49F9 /* PhotoListViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 42D64CCD1FD12BCF003F49F9 /* PhotoListViewController.m */; };
 		42D8CD5C1FC662E7005BEA15 /* CommonEditorTableContainerView.m in Sources */ = {isa = PBXBuildFile; fileRef = 42D8CD5A1FC662E7005BEA15 /* CommonEditorTableContainerView.m */; };
 		42DBCB111FBEC0B7005574E0 /* CommonEditorWebCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 42DBCB101FBEC0B7005574E0 /* CommonEditorWebCell.m */; };
 		42DBCB131FBEC0E1005574E0 /* Phone_Web_Cell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 42DBCB121FBEC0E1005574E0 /* Phone_Web_Cell.xib */; };
@@ -206,6 +212,17 @@
 		42D64CB31FD0FEB4003F49F9 /* PhotoPreviewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PhotoPreviewCell.m; sourceTree = "<group>"; };
 		42D64CB41FD0FEB4003F49F9 /* VideoPreviewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = VideoPreviewCell.h; sourceTree = "<group>"; };
 		42D64CB51FD0FEB4003F49F9 /* VideoPreviewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = VideoPreviewCell.m; sourceTree = "<group>"; };
+		42D64CC31FD12BCE003F49F9 /* PhotoPreviewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PhotoPreviewController.h; path = "../../RA Image/RA Image/PhotoPreviewController.h"; sourceTree = "<group>"; };
+		42D64CC41FD12BCE003F49F9 /* NewPhotoPreviewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = NewPhotoPreviewController.m; path = "../../RA Image/RA Image/NewPhotoPreviewController.m"; sourceTree = "<group>"; };
+		42D64CC51FD12BCE003F49F9 /* PhotoListViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PhotoListViewController.h; path = "../../RA Image/RA Image/PhotoListViewController.h"; sourceTree = "<group>"; };
+		42D64CC61FD12BCE003F49F9 /* PhotoPreviewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = PhotoPreviewController.m; path = "../../RA Image/RA Image/PhotoPreviewController.m"; sourceTree = "<group>"; };
+		42D64CC71FD12BCE003F49F9 /* RAImagePhotoPreviewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = RAImagePhotoPreviewCell.m; path = "../../RA Image/RA Image/RAImagePhotoPreviewCell.m"; sourceTree = "<group>"; };
+		42D64CC81FD12BCE003F49F9 /* RAImage_PhotoList.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = RAImage_PhotoList.storyboard; path = "../../RA Image/RA Image/RAImage_PhotoList.storyboard"; sourceTree = "<group>"; };
+		42D64CC91FD12BCE003F49F9 /* NewPhotoPreviewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = NewPhotoPreviewController.h; path = "../../RA Image/RA Image/NewPhotoPreviewController.h"; sourceTree = "<group>"; };
+		42D64CCA1FD12BCE003F49F9 /* RAImagePhotoPreviewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RAImagePhotoPreviewCell.h; path = "../../RA Image/RA Image/RAImagePhotoPreviewCell.h"; sourceTree = "<group>"; };
+		42D64CCB1FD12BCE003F49F9 /* PhotoCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = PhotoCell.m; path = "../../RA Image/RA Image/PhotoCell.m"; sourceTree = "<group>"; };
+		42D64CCC1FD12BCF003F49F9 /* PhotoCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PhotoCell.h; path = "../../RA Image/RA Image/PhotoCell.h"; sourceTree = "<group>"; };
+		42D64CCD1FD12BCF003F49F9 /* PhotoListViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = PhotoListViewController.m; path = "../../RA Image/RA Image/PhotoListViewController.m"; sourceTree = "<group>"; };
 		42D8CD5A1FC662E7005BEA15 /* CommonEditorTableContainerView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CommonEditorTableContainerView.m; path = "../../RedAnt ERP Mobile/common/CommonEditor/CommonEditorTableContainerView.m"; sourceTree = "<group>"; };
 		42D8CD5B1FC662E7005BEA15 /* CommonEditorTableContainerView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CommonEditorTableContainerView.h; path = "../../RedAnt ERP Mobile/common/CommonEditor/CommonEditorTableContainerView.h"; sourceTree = "<group>"; };
 		42DBCB0F1FBEC0B7005574E0 /* CommonEditorWebCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = CommonEditorWebCell.h; path = "../../RedAnt ERP Mobile/common/CommonEditor/CommonEditorWebCell.h"; sourceTree = "<group>"; };
@@ -578,6 +595,78 @@
 			path = View;
 			sourceTree = "<group>";
 		};
+		42D64CBA1FD125BB003F49F9 /* Root */ = {
+			isa = PBXGroup;
+			children = (
+				7102C13F1FCD46DE0062A67A /* RootModeCell.h */,
+				7102C1401FCD46DE0062A67A /* RootModeCell.m */,
+				7102C13D1FCD46C00062A67A /* RootViewController.h */,
+				7102C13C1FCD46C00062A67A /* RootViewController.m */,
+			);
+			name = Root;
+			sourceTree = "<group>";
+		};
+		42D64CBB1FD12620003F49F9 /* Modes */ = {
+			isa = PBXGroup;
+			children = (
+				716780301FCC095D00FE2784 /* TakePhotoPreviewController.h */,
+				716780311FCC095D00FE2784 /* TakePhotoPreviewController.m */,
+				7167802C1FCC087E00FE2784 /* BasicModeViewController.h */,
+				7167802B1FCC087E00FE2784 /* BasicModeViewController.m */,
+				42D64CBC1FD1262E003F49F9 /* POP */,
+				42D64CBD1FD12655003F49F9 /* Model */,
+			);
+			name = Modes;
+			sourceTree = "<group>";
+		};
+		42D64CBC1FD1262E003F49F9 /* POP */ = {
+			isa = PBXGroup;
+			children = (
+				716780341FCC096B00FE2784 /* PopModeViewController.h */,
+				716780331FCC096B00FE2784 /* PopModeViewController.m */,
+			);
+			name = POP;
+			sourceTree = "<group>";
+		};
+		42D64CBD1FD12655003F49F9 /* Model */ = {
+			isa = PBXGroup;
+			children = (
+				716780361FCC097B00FE2784 /* ModelModeViewController.h */,
+				716780371FCC097B00FE2784 /* ModelModeViewController.m */,
+				42D64CBE1FD1266B003F49F9 /* Manufacture */,
+			);
+			name = Model;
+			sourceTree = "<group>";
+		};
+		42D64CBE1FD1266B003F49F9 /* Manufacture */ = {
+			isa = PBXGroup;
+			children = (
+				716780391FCC098600FE2784 /* ManufacturerListController.h */,
+				7167803A1FCC098600FE2784 /* ManufacturerListController.m */,
+				7167803C1FCC099200FE2784 /* ManufacturerCell.h */,
+				7167803D1FCC099200FE2784 /* ManufacturerCell.m */,
+			);
+			name = Manufacture;
+			sourceTree = "<group>";
+		};
+		42D64CC21FD12B74003F49F9 /* PhotoList */ = {
+			isa = PBXGroup;
+			children = (
+				42D64CC81FD12BCE003F49F9 /* RAImage_PhotoList.storyboard */,
+				42D64CC51FD12BCE003F49F9 /* PhotoListViewController.h */,
+				42D64CCD1FD12BCF003F49F9 /* PhotoListViewController.m */,
+				42D64CCC1FD12BCF003F49F9 /* PhotoCell.h */,
+				42D64CCB1FD12BCE003F49F9 /* PhotoCell.m */,
+				42D64CC31FD12BCE003F49F9 /* PhotoPreviewController.h */,
+				42D64CC61FD12BCE003F49F9 /* PhotoPreviewController.m */,
+				42D64CC91FD12BCE003F49F9 /* NewPhotoPreviewController.h */,
+				42D64CC41FD12BCE003F49F9 /* NewPhotoPreviewController.m */,
+				42D64CCA1FD12BCE003F49F9 /* RAImagePhotoPreviewCell.h */,
+				42D64CC71FD12BCE003F49F9 /* RAImagePhotoPreviewCell.m */,
+			);
+			name = PhotoList;
+			sourceTree = "<group>";
+		};
 		42DBCB0E1FBEC055005574E0 /* WebCell */ = {
 			isa = PBXGroup;
 			children = (
@@ -762,24 +851,11 @@
 		71A2ACC71FCBEF2500F398DA /* RA IMAGE */ = {
 			isa = PBXGroup;
 			children = (
+				42D64CC21FD12B74003F49F9 /* PhotoList */,
+				42D64CBB1FD12620003F49F9 /* Modes */,
+				42D64CBA1FD125BB003F49F9 /* Root */,
 				7102C1431FCD486F0062A67A /* RAImage.storyboard */,
-				7102C13F1FCD46DE0062A67A /* RootModeCell.h */,
-				7102C1401FCD46DE0062A67A /* RootModeCell.m */,
-				7102C13D1FCD46C00062A67A /* RootViewController.h */,
-				7102C13C1FCD46C00062A67A /* RootViewController.m */,
 				7167802E1FCC095000FE2784 /* Mode.storyboard */,
-				7167802C1FCC087E00FE2784 /* BasicModeViewController.h */,
-				7167802B1FCC087E00FE2784 /* BasicModeViewController.m */,
-				716780301FCC095D00FE2784 /* TakePhotoPreviewController.h */,
-				716780311FCC095D00FE2784 /* TakePhotoPreviewController.m */,
-				716780341FCC096B00FE2784 /* PopModeViewController.h */,
-				716780331FCC096B00FE2784 /* PopModeViewController.m */,
-				716780361FCC097B00FE2784 /* ModelModeViewController.h */,
-				716780371FCC097B00FE2784 /* ModelModeViewController.m */,
-				716780391FCC098600FE2784 /* ManufacturerListController.h */,
-				7167803A1FCC098600FE2784 /* ManufacturerListController.m */,
-				7167803C1FCC099200FE2784 /* ManufacturerCell.h */,
-				7167803D1FCC099200FE2784 /* ManufacturerCell.m */,
 			);
 			name = "RA IMAGE";
 			sourceTree = "<group>";
@@ -1157,6 +1233,7 @@
 				71FF60331FA871DD00C5523A /* layout.json in Resources */,
 				42DFAE6B1F9B2B73009AFCCC /* Phone_Action_Cell.xib in Resources */,
 				71CB70B41FA1CCDB009FDCB7 /* server.json in Resources */,
+				42D64CD11FD12BCF003F49F9 /* RAImage_PhotoList.storyboard in Resources */,
 				42DFAE791F9B2CBD009AFCCC /* Phone_Signature_Cell.xib in Resources */,
 				716780411FCC0A2900FE2784 /* cam_scan.storyboard in Resources */,
 				71F3A9B01F5F8E22001036C8 /* LaunchScreen.storyboard in Resources */,
@@ -1219,9 +1296,11 @@
 				42973AD71FBA8F4A00A3C164 /* CommonEditorRangeCell.m in Sources */,
 				7102C13B1FCC0FF70062A67A /* ImageUtils.m in Sources */,
 				7102C1411FCD46DE0062A67A /* RootModeCell.m in Sources */,
+				42D64CD21FD12BCF003F49F9 /* PhotoCell.m in Sources */,
 				71F3A9EE1F5FA557001036C8 /* mztools.c in Sources */,
 				716780381FCC097B00FE2784 /* ModelModeViewController.m in Sources */,
 				71F3AA861F626E14001036C8 /* RAConvertor.m in Sources */,
+				42D64CD31FD12BCF003F49F9 /* PhotoListViewController.m in Sources */,
 				71F3A9F01F5FA557001036C8 /* zip.c in Sources */,
 				71F3AA7D1F62617D001036C8 /* NetworkUtils+Contact.m in Sources */,
 				716780351FCC096B00FE2784 /* PopModeViewController.m in Sources */,
@@ -1242,6 +1321,7 @@
 				71F3AA0A1F5FDDFE001036C8 /* NSData+CommonCrypto.m in Sources */,
 				42D64CB91FD0FEB5003F49F9 /* VideoPreviewCell.m in Sources */,
 				71F3AA0B1F5FDDFE001036C8 /* NSString+Base64.m in Sources */,
+				42D64CCE1FD12BCF003F49F9 /* NewPhotoPreviewController.m in Sources */,
 				7167804E1FCC0B0000FE2784 /* SCShapeView.m in Sources */,
 				71F3AA111F611FC4001036C8 /* testViewController.m in Sources */,
 				71F3AA431F612369001036C8 /* EnumSelectorCell.m in Sources */,
@@ -1266,6 +1346,7 @@
 				7197D4121FBBE1490063EFBB /* ModelDetailViewController.m in Sources */,
 				71F3AA531F6125ED001036C8 /* ImageViewController.m in Sources */,
 				71F3AA411F612369001036C8 /* CommonEditorViewController.m in Sources */,
+				42D64CCF1FD12BCF003F49F9 /* PhotoPreviewController.m in Sources */,
 				716780561FCC0C6D00FE2784 /* UIView+Toast.m in Sources */,
 				716780531FCC0C4F00FE2784 /* UIImage+fixOrientation.m in Sources */,
 				71F3A9ED1F5FA557001036C8 /* ioapi.c in Sources */,
@@ -1291,6 +1372,7 @@
 				71F3AA421F612369001036C8 /* DatePickerViewController.m in Sources */,
 				71F3A9D91F5FA3B9001036C8 /* RANetwork.m in Sources */,
 				42D64C9F1FD0FAEF003F49F9 /* YTViewController.m in Sources */,
+				42D64CD01FD12BCF003F49F9 /* RAImagePhotoPreviewCell.m in Sources */,
 				71F3AA091F5FDDFE001036C8 /* NSData+Base64.m in Sources */,
 				4221EF9D1FA81D5B0026E1EC /* RAQueryViewController.m in Sources */,
 				71F3A9DC1F5FA458001036C8 /* RANetworkTaskDelegate.m in Sources */,

BIN
RedAnt Mobile/RedAnt Mobile.xcodeproj/project.xcworkspace/xcuserdata/macmini1.xcuserdatad/UserInterfaceState.xcuserstate


+ 27 - 0
RedAnt Mobile/RedAnt Mobile/AppDelegate.m

@@ -51,11 +51,17 @@
 
 - (void)applicationDidBecomeActive:(UIApplication *)application {
     // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
+    
+    if (!self.uploadManager) {
+        self.uploadManager=[[RAUploadManager alloc] init];
+    }
 }
 
 
 - (void)applicationWillTerminate:(UIApplication *)application {
     // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
+    
+    [self saveUploadTasks];
 }
 
 //#pragma mark - Public
@@ -70,5 +76,26 @@
 //    [self.window setRootViewController:nav];
 //}
 
+- (void)saveUploadTasks {
+    
+    if(true)
+    {
+        
+        if(self.uploadManager.arr_queue!=nil)
+        {
+            
+            [self.uploadManager stopAllTasks];
+            [self.uploadManager saveTasks];
+            
+            
+        }
+        return;
+    }
+    
+}
+
+- (NSString *)address {
+    return _server;
+}
 
 @end

+ 18 - 9
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/AppIcon.appiconset/Contents.json

@@ -1,48 +1,57 @@
 {
   "images" : [
     {
-      "idiom" : "iphone",
       "size" : "20x20",
+      "idiom" : "iphone",
+      "filename" : "appicon.png",
       "scale" : "2x"
     },
     {
-      "idiom" : "iphone",
       "size" : "20x20",
+      "idiom" : "iphone",
+      "filename" : "appicon-1.png",
       "scale" : "3x"
     },
     {
-      "idiom" : "iphone",
       "size" : "29x29",
+      "idiom" : "iphone",
+      "filename" : "appicon-2.png",
       "scale" : "2x"
     },
     {
-      "idiom" : "iphone",
       "size" : "29x29",
+      "idiom" : "iphone",
+      "filename" : "appicon-3.png",
       "scale" : "3x"
     },
     {
-      "idiom" : "iphone",
       "size" : "40x40",
+      "idiom" : "iphone",
+      "filename" : "appicon-4.png",
       "scale" : "2x"
     },
     {
-      "idiom" : "iphone",
       "size" : "40x40",
+      "idiom" : "iphone",
+      "filename" : "appicon-5.png",
       "scale" : "3x"
     },
     {
-      "idiom" : "iphone",
       "size" : "60x60",
+      "idiom" : "iphone",
+      "filename" : "appicon-6.png",
       "scale" : "2x"
     },
     {
-      "idiom" : "iphone",
       "size" : "60x60",
+      "idiom" : "iphone",
+      "filename" : "appicon-7.png",
       "scale" : "3x"
     },
     {
-      "idiom" : "ios-marketing",
       "size" : "1024x1024",
+      "idiom" : "ios-marketing",
+      "filename" : "red1.png",
       "scale" : "1x"
     }
   ],

BIN
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/AppIcon.appiconset/appicon-1.png


BIN
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/AppIcon.appiconset/appicon-2.png


BIN
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/AppIcon.appiconset/appicon-3.png


BIN
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/AppIcon.appiconset/appicon-4.png


BIN
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/AppIcon.appiconset/appicon-5.png


BIN
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/AppIcon.appiconset/appicon-6.png


BIN
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/AppIcon.appiconset/appicon-7.png


BIN
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/AppIcon.appiconset/appicon.png


BIN
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/AppIcon.appiconset/red1.png


+ 23 - 0
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/camera.imageset/Contents.json

@@ -0,0 +1,23 @@
+{
+  "images" : [
+    {
+      "idiom" : "universal",
+      "filename" : "camera.png",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "universal",
+      "filename" : "camera@2x.png",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "universal",
+      "filename" : "camera@3x.png",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "version" : 1,
+    "author" : "xcode"
+  }
+}

BIN
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/camera.imageset/camera.png


BIN
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/camera.imageset/camera@2x.png


BIN
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/camera.imageset/camera@3x.png


+ 23 - 0
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/checkbox.imageset/Contents.json

@@ -0,0 +1,23 @@
+{
+  "images" : [
+    {
+      "idiom" : "universal",
+      "filename" : "checkbox.png",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "universal",
+      "filename" : "checkbox@2x.png",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "universal",
+      "filename" : "checkbox@3x.png",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "version" : 1,
+    "author" : "xcode"
+  }
+}

BIN
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/checkbox.imageset/checkbox.png


BIN
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/checkbox.imageset/checkbox@2x.png


BIN
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/checkbox.imageset/checkbox@3x.png


+ 23 - 0
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/checkbox_check.imageset/Contents.json

@@ -0,0 +1,23 @@
+{
+  "images" : [
+    {
+      "idiom" : "universal",
+      "filename" : "checkbox_check.png",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "universal",
+      "filename" : "checkbox_check@2x.png",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "universal",
+      "filename" : "checkbox_check@3x.png",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "version" : 1,
+    "author" : "xcode"
+  }
+}

BIN
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/checkbox_check.imageset/checkbox_check.png


BIN
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/checkbox_check.imageset/checkbox_check@2x.png


BIN
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/checkbox_check.imageset/checkbox_check@3x.png


+ 23 - 0
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/flash_auto.imageset/Contents.json

@@ -0,0 +1,23 @@
+{
+  "images" : [
+    {
+      "idiom" : "universal",
+      "filename" : "flash_auto.png",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "universal",
+      "filename" : "flash_auto@2x.png",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "universal",
+      "filename" : "flash_auto@3x.png",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "version" : 1,
+    "author" : "xcode"
+  }
+}

BIN
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/flash_auto.imageset/flash_auto.png


BIN
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/flash_auto.imageset/flash_auto@2x.png


BIN
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/flash_auto.imageset/flash_auto@3x.png


+ 23 - 0
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/flash_off.imageset/Contents.json

@@ -0,0 +1,23 @@
+{
+  "images" : [
+    {
+      "idiom" : "universal",
+      "filename" : "flash_off.png",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "universal",
+      "filename" : "flash_off@2x.png",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "universal",
+      "filename" : "flash_off@3x.png",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "version" : 1,
+    "author" : "xcode"
+  }
+}

BIN
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/flash_off.imageset/flash_off.png


BIN
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/flash_off.imageset/flash_off@2x.png


BIN
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/flash_off.imageset/flash_off@3x.png


+ 23 - 0
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/flash_on.imageset/Contents.json

@@ -0,0 +1,23 @@
+{
+  "images" : [
+    {
+      "idiom" : "universal",
+      "filename" : "flash_on.png",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "universal",
+      "filename" : "flash_on@2x.png",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "universal",
+      "filename" : "flash_on@3x.png",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "version" : 1,
+    "author" : "xcode"
+  }
+}

BIN
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/flash_on.imageset/flash_on.png


BIN
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/flash_on.imageset/flash_on@2x.png


BIN
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/flash_on.imageset/flash_on@3x.png


+ 23 - 0
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/redAnt.imageset/Contents.json

@@ -0,0 +1,23 @@
+{
+  "images" : [
+    {
+      "idiom" : "universal",
+      "filename" : "redAnt.png",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "universal",
+      "filename" : "redAnt@2x.png",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "universal",
+      "filename" : "redAnt@3x.png",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "version" : 1,
+    "author" : "xcode"
+  }
+}

BIN
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/redAnt.imageset/redAnt.png


BIN
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/redAnt.imageset/redAnt@2x.png


BIN
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/redAnt.imageset/redAnt@3x.png


+ 23 - 0
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/scan.imageset/Contents.json

@@ -0,0 +1,23 @@
+{
+  "images" : [
+    {
+      "idiom" : "universal",
+      "filename" : "scan.png",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "universal",
+      "filename" : "scan@2x.png",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "universal",
+      "filename" : "scan@3x.png",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "version" : 1,
+    "author" : "xcode"
+  }
+}

BIN
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/scan.imageset/scan.png


BIN
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/scan.imageset/scan@2x.png


BIN
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/scan.imageset/scan@3x.png


+ 23 - 0
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/take_photo.imageset/Contents.json

@@ -0,0 +1,23 @@
+{
+  "images" : [
+    {
+      "idiom" : "universal",
+      "filename" : "take_photo.png",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "universal",
+      "filename" : "take_photo@2x.png",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "universal",
+      "filename" : "take_photo@3x.png",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "version" : 1,
+    "author" : "xcode"
+  }
+}

BIN
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/take_photo.imageset/take_photo.png


BIN
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/take_photo.imageset/take_photo@2x.png


BIN
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/take_photo.imageset/take_photo@3x.png


+ 23 - 0
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/upload.imageset/Contents.json

@@ -0,0 +1,23 @@
+{
+  "images" : [
+    {
+      "idiom" : "universal",
+      "filename" : "upload.png",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "universal",
+      "filename" : "upload@2x.png",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "universal",
+      "filename" : "upload@3x.png",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "version" : 1,
+    "author" : "xcode"
+  }
+}

BIN
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/upload.imageset/upload.png


BIN
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/upload.imageset/upload@2x.png


BIN
RedAnt Mobile/RedAnt Mobile/Assets.xcassets/upload.imageset/upload@3x.png


+ 6 - 0
RedAnt Mobile/RedAnt Mobile/Info.plist

@@ -34,5 +34,11 @@
 		<string>UIInterfaceOrientationLandscapeLeft</string>
 		<string>UIInterfaceOrientationLandscapeRight</string>
 	</array>
+	<key>NSCameraUsageDescription</key>
+	<string>Need Use Camera</string>
+	<key>NSPhotoLibraryUsageDescription</key>
+	<string>Need Use Photo Library</string>
+	<key>UIFileSharingEnabled</key>
+	<true/>
 </dict>
 </plist>