Преглед на файлове

160831
Add support offline signature on common editor

Ray Zhang преди 9 години
родител
ревизия
6bc8bd8024

BIN
RedAnt ERP Mobile/RedAnt ERP Mobile.xcworkspace/xcuserdata/Ray.xcuserdatad/UserInterfaceState.xcuserstate


+ 5 - 2
RedAnt ERP Mobile/common/CommonEditor/CommonEditorViewController.m

@@ -34,6 +34,7 @@
 #import "DefaultTableHeaderView.h"
 #define INTNUMBERS @"0123456789\n"
 #define NUMBERS @"0123456789.\n"
+#import "OLDataProvider.h"
 
 
 
@@ -4642,7 +4643,9 @@
                 if(appDelegate.offline_mode)
                 {
                     
-                    NSData *data =  UIImagePNGRepresentation(img);
+                   
+                    
+                    NSData *data = [OLDataProvider offline_saveBusinesscard:UIImagePNGRepresentation(img)];;
                     
                     // 再将NSData转为字符串
                     NSString *jsonStr = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding];
@@ -4655,7 +4658,7 @@
                     
                     
                     
-
+                    
                     
                     
                     //NSMutableArray* arr_ret = [[NSMutableArray alloc] init];