|
@@ -71,11 +71,22 @@ JSExportAs(aliPay, -(void)jsAliPay:(NSString*)str);
|
|
|
self.webView.scrollView.bounces = NO;
|
|
|
self.webView.delegate = self;
|
|
|
|
|
|
+
|
|
|
+
|
|
|
self.webView.autoresizingMask = (UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight);
|
|
|
self.webView.scalesPageToFit=YES;
|
|
|
self.webView.multipleTouchEnabled=YES;
|
|
|
self.webView.userInteractionEnabled=YES;
|
|
|
|
|
|
+ NSLog(@"%f",HEIGHT)
|
|
|
+ if (HEIGHT >=812) {
|
|
|
+ if (@available(iOS 11.0, *)) {
|
|
|
+ self.webView.scrollView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
// [[LXViewControllerManager shareViewControllerManager] showHudText:nil];
|
|
|
[self.webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:self.url]]];
|
|
|
|