lxy 2 years ago
parent
commit
4d55359152

+ 2 - 2
Demo.xcodeproj/project.pbxproj

@@ -292,7 +292,7 @@
 				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
 				GCC_WARN_UNUSED_FUNCTION = YES;
 				GCC_WARN_UNUSED_VARIABLE = YES;
-				IPHONEOS_DEPLOYMENT_TARGET = 10.0;
+				IPHONEOS_DEPLOYMENT_TARGET = 12.0;
 				MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
 				MTL_FAST_MATH = YES;
 				ONLY_ACTIVE_ARCH = YES;
@@ -345,7 +345,7 @@
 				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
 				GCC_WARN_UNUSED_FUNCTION = YES;
 				GCC_WARN_UNUSED_VARIABLE = YES;
-				IPHONEOS_DEPLOYMENT_TARGET = 10.0;
+				IPHONEOS_DEPLOYMENT_TARGET = 12.0;
 				MTL_ENABLE_DEBUG_INFO = NO;
 				MTL_FAST_MATH = YES;
 				SDKROOT = iphoneos;

BIN
Demo.xcworkspace/xcuserdata/lr.xcuserdatad/UserInterfaceState.xcuserstate


+ 33 - 1
Demo.xcworkspace/xcuserdata/lr.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

@@ -184,7 +184,7 @@
          BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
          <BreakpointContent
             uuid = "83EA6547-36D7-4729-A34F-FDC49D9E1BAE"
-            shouldBeEnabled = "Yes"
+            shouldBeEnabled = "No"
             ignoreCount = "0"
             continueAfterRunningActions = "No"
             filePath = "SDK/LenzCameraNativeModuleForRN/LenzCameraNativeModuleForRN/Classes/inner/DB/LenzDataManager.m"
@@ -340,5 +340,37 @@
             landmarkType = "7">
          </BreakpointContent>
       </BreakpointProxy>
+      <BreakpointProxy
+         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
+         <BreakpointContent
+            uuid = "EDED2AB7-A45C-4E8B-AB43-9BE532F6F53B"
+            shouldBeEnabled = "Yes"
+            ignoreCount = "0"
+            continueAfterRunningActions = "No"
+            filePath = "SDK/LenzCameraNativeModuleForRN/LenzCameraNativeModuleForRN/Classes/inner/PCSBaseViewController/PCSPreviewViewController.m"
+            startingColumnNumber = "9223372036854775807"
+            endingColumnNumber = "9223372036854775807"
+            startingLineNumber = "245"
+            endingLineNumber = "245"
+            landmarkName = "-updateCountLabelWith:"
+            landmarkType = "7">
+         </BreakpointContent>
+      </BreakpointProxy>
+      <BreakpointProxy
+         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
+         <BreakpointContent
+            uuid = "F1C96AE1-A578-453E-8592-C8981A9BB8E7"
+            shouldBeEnabled = "Yes"
+            ignoreCount = "0"
+            continueAfterRunningActions = "No"
+            filePath = "SDK/LenzCameraNativeModuleForRN/LenzCameraNativeModuleForRN/Classes/inner/PCSBaseViewController/PCSPreviewViewController.m"
+            startingColumnNumber = "9223372036854775807"
+            endingColumnNumber = "9223372036854775807"
+            startingLineNumber = "220"
+            endingLineNumber = "220"
+            landmarkName = "-viewDidLoad"
+            landmarkType = "7">
+         </BreakpointContent>
+      </BreakpointProxy>
    </Breakpoints>
 </Bucket>

+ 1 - 1
Demo/ViewController.m

@@ -77,7 +77,7 @@
     PCSBaseViewController *vc = [PCSBaseViewController initWithParams:dict complete:^(NSDictionary * _Nonnull dict) {
         NSError *error;
         NSData *jsonData = [NSJSONSerialization dataWithJSONObject:dict
-                                                               options:NSJSONWritingFragmentsAllowed
+                                                               options:NSJSONWritingSortedKeys
                                                                  error:&error];
         NSString *jsonString;
         if (!jsonData) {

+ 3 - 3
SDK/LenzCameraNativeModuleForRN/LenzCameraNativeModuleForRN/Classes/inner/PCSBaseViewController/PCSPreviewViewController.m

@@ -221,11 +221,11 @@
     if (self.model.continousArray.count > 0) {
         self.currentIndexPath = [NSIndexPath indexPathForItem:0 inSection:0];
     } else if (self.model.movieArray.count > 0) {
-        self.currentIndexPath = [NSIndexPath indexPathForItem:1 inSection:0];
+        self.currentIndexPath = [NSIndexPath indexPathForItem:0 inSection:1];
     } else if (self.model.panoramArray.count > 0) {
-        self.currentIndexPath = [NSIndexPath indexPathForItem:2 inSection:0];
+        self.currentIndexPath = [NSIndexPath indexPathForItem:0 inSection:2];
     } else if (self.model.aiPanoramArray.count > 0) {
-        self.currentIndexPath = [NSIndexPath indexPathForItem:3 inSection:0];
+        self.currentIndexPath = [NSIndexPath indexPathForItem:0 inSection:3];
     }
     [self changeLabelStatusWith:self.currentIndex];
     [self updateCountLabelWith:self.currentIndexPath];