lxy 1 vuosi sitten
vanhempi
commit
c1f2990fe9

+ 4 - 3
LenzCameraNativeModuleForRN/Classes/inner/PCSBaseViewController/PCSBaseViewController.m

@@ -2022,7 +2022,7 @@
             [obj.keyFrame enumerateObjectsUsingBlock:^(id  _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {
                 [keyFrame addObject:obj];
             }];
-            dict[@"keyFrame"] = keyFrame;
+            dict[@"keyframe"] = keyFrame;
             [res addObject:dict];
         }
     }];
@@ -2039,7 +2039,7 @@
                 [obj.keyFrame enumerateObjectsUsingBlock:^(id  _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {
                     [keyFrame addObject:obj];
                 }];
-                dict[@"keyFrame"] = keyFrame;
+                dict[@"keyframe"] = keyFrame;
                 dict[@"mosaicPictureUrl"] = obj.path;
             } else {
                 dict[@"path"] = obj.path;
@@ -2584,7 +2584,8 @@
                             model.mode = self.mode;
                             if ([LenStitcher getCurrentPanoramaShow]) {
                                 model.image = image;
-                                model.path = [LenStitcher getCurrentPanoramaShow];
+                                NSString *path = [LenzDataManager saveImageWith:UIImageJPEGRepresentation(image, .8) mode:self.mode];
+                                model.path = path;
                             }
                             [self updateViewStatusWhenStitchSave:NO];
                             self.isStitchBigImage = NO;

+ 1 - 1
LenzSDK.podspec

@@ -8,7 +8,7 @@
 
 Pod::Spec.new do |s|
   s.name             = 'LenzSDK'
-  s.version          = '2.0.0'
+  s.version          = '2.0.1'
   s.summary          = 'A short description of LenzSDK.'
 
 # This description is used to generate tags and improve search results.