Commit a8b9ea3c authored by 林生雨's avatar 林生雨

comit

parent 1a6c3ef1
...@@ -529,7 +529,7 @@ NSString *cacheDirectory; ...@@ -529,7 +529,7 @@ NSString *cacheDirectory;
@autoreleasepool{ @autoreleasepool{
NSString* realPath=self.takePhotoMap[path]; NSString* realPath=self.takePhotoMap[path];
NSData *data = [NSData dataWithContentsOfFile:realPath]; NSData *data = [NSData dataWithContentsOfFile:realPath];
[[ResultManager sharedSingleton] resultSuccess:[NSNumber numberWithLong:resultTemp] :data]; [[ResultManager sharedSingleton] resultSuccess:[NSNumber numberWithLong:resultTemp] :[FlutterStandardTypedData typedDataWithBytes:data]];
} }
}else{ }else{
[[ResultManager sharedSingleton] resultSuccess:[NSNumber numberWithLong:resultTemp] :nil]; [[ResultManager sharedSingleton] resultSuccess:[NSNumber numberWithLong:resultTemp] :nil];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment