Эх сурвалжийг харах

解决wkwebview 缓存问题
解决signature 不响应问题。

Ray Zhang 7 жил өмнө
parent
commit
eb4e768483

+ 2 - 1
RedAnt CRM/APEX CRM/APEX CRM/RAWKWebView.m

@@ -67,7 +67,8 @@
     
     WKPreferences *preferences = [WKPreferences new];
     preferences.javaScriptCanOpenWindowsAutomatically = YES;
-    preferences.minimumFontSize = 40.0;
+//    preferences.minimumFontSize = 40.0;
+    
     configuration.preferences = preferences;
     
     self.wkwebView = [[WKWebView alloc] initWithFrame:self.bounds configuration:configuration];

+ 4 - 1
RedAnt CRM/APEX CRM/APEX CRM/ViewController.m

@@ -24,7 +24,10 @@
     WKWebTestViewController *vc = [self.storyboard instantiateViewControllerWithIdentifier:@"WKWebTestViewController"];
 
 //    vc.url=@"http://192.168.0.138:8080/backend_test/index.html";
-    vc.url = @"http://192.168.0.130:8080/MyWeb/html/test.html";
+    
+    
+    vc.url = @"http://192.168.0.124:8081/j/crm/mobile/login";
+//    vc.url = @"http://192.168.0.130:8080/MyWeb/html/test.html";
     [self.navigationController pushViewController:vc animated:YES];
     
     

BIN
RedAnt CRM/RedAnt CRM.xcworkspace/xcuserdata/ray.xcuserdatad/UserInterfaceState.xcuserstate


+ 33 - 1
RedAnt CRM/RedAnt CRM.xcworkspace/xcuserdata/ray.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

@@ -10,13 +10,45 @@
             ignoreCount = "0"
             continueAfterRunningActions = "No"
             filePath = "APEX CRM/APEX CRM/RAWKWebView.m"
-            timestampString = "565586860.509225"
+            timestampString = "565588395.657511"
             startingColumnNumber = "9223372036854775807"
             endingColumnNumber = "9223372036854775807"
             startingLineNumber = "489"
             endingLineNumber = "489"
             landmarkName = "-webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:"
             landmarkType = "7">
+            <Locations>
+               <Location
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "__93-[RAWKWebView webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:]_block_invoke"
+                  moduleName = "APEX CRM"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/ray/Documents/CODE_ERPSuiteIOS/RedAnt%20CRM/APEX%20CRM/APEX%20CRM/RAWKWebView.m"
+                  timestampString = "565588395.699319"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "489"
+                  endingLineNumber = "489"
+                  offsetFromSymbolStart = "91">
+               </Location>
+               <Location
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "__copy_helper_block_.345"
+                  moduleName = "APEX CRM"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/ray/Documents/CODE_ERPSuiteIOS/RedAnt%20CRM/APEX%20CRM/APEX%20CRM/RAWKWebView.m"
+                  timestampString = "565588395.703966"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "486"
+                  endingLineNumber = "486"
+                  offsetFromSymbolStart = "21">
+               </Location>
+            </Locations>
          </BreakpointContent>
       </BreakpointProxy>
    </Breakpoints>