From 25f409185a53e5e7beb17518a684298d92d31b3f Mon Sep 17 00:00:00 2001
From: 单军华 <WindShan@danjunhuas-MacBook-Pro.local>
Date: Fri, 04 May 2018 13:34:53 +0800
Subject: [PATCH] iPhone x 屏幕适配修改
---
pregnancy_guard/BaseProject/Controller/Common/BaseWebPage.m | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/pregnancy_guard/BaseProject/Controller/Common/BaseWebPage.m b/pregnancy_guard/BaseProject/Controller/Common/BaseWebPage.m
index 6d3c214..492ba5f 100644
--- a/pregnancy_guard/BaseProject/Controller/Common/BaseWebPage.m
+++ b/pregnancy_guard/BaseProject/Controller/Common/BaseWebPage.m
@@ -22,7 +22,7 @@
if (!_webView)
{
- _webView = [[WKWebView alloc] initWithFrame:CGRectMake(0, 0, self.view.bounds.size.width, self.view.bounds.size.height-60)];
+ _webView = [[WKWebView alloc] initWithFrame:CGRectMake(0, 0, self.view.bounds.size.width, self.view.bounds.size.height-NavBar_Height)];
_webView.navigationDelegate = self;
// _webView.dataDetectorTypes = UIDataDetectorTypeAll;
// _webView.scalesPageToFit = YES;//������������������������������������������
--
Gitblit v1.8.0