Commit 06739714aa963dd96ff4c14c41af1f8d39b3da1e

Authored by 梁星国
1 parent b35b13d7

提交0.0.23

CNLiveServiceCenterModule.podspec
@@ -8,7 +8,7 @@ @@ -8,7 +8,7 @@
8 8
9 Pod::Spec.new do |s| 9 Pod::Spec.new do |s|
10 s.name = 'CNLiveServiceCenterModule' 10 s.name = 'CNLiveServiceCenterModule'
11 - s.version = '0.0.22' 11 + s.version = '0.0.23'
12 s.summary = '网家家企业端服务中心模块' 12 s.summary = '网家家企业端服务中心模块'
13 13
14 # This description is used to generate tags and improve search results. 14 # This description is used to generate tags and improve search results.
CNLiveServiceCenterModule/Classes/CNLiveServiceCenterModule/Controller/CNLiveBCreatorViewController.m
@@ -61,7 +61,7 @@ @@ -61,7 +61,7 @@
61 [self.view addSubview:progress]; 61 [self.view addSubview:progress];
62 self.progressView = progress; 62 self.progressView = progress;
63 63
64 - self.extendedLayoutIncludesOpaqueBars = YES; 64 +
65 65
66 self.view.backgroundColor = [UIColor whiteColor]; 66 self.view.backgroundColor = [UIColor whiteColor];
67 WKWebView *webView = [[WKWebView alloc] initWithFrame:CGRectMake(0, kNavigationBarHeight, kScreenWidth, KScreenHeight - kNavigationBarHeight)]; 67 WKWebView *webView = [[WKWebView alloc] initWithFrame:CGRectMake(0, kNavigationBarHeight, kScreenWidth, KScreenHeight - kNavigationBarHeight)];
@@ -79,14 +79,11 @@ @@ -79,14 +79,11 @@
79 79
80 self.wkwebView = webView; 80 self.wkwebView = webView;
81 81
  82 + self.extendedLayoutIncludesOpaqueBars = YES;
82 if (@available(iOS 11.0, *)) { 83 if (@available(iOS 11.0, *)) {
83 -  
84 -   self.wkwebView.scrollView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;  
85 - 84 + self.wkwebView.scrollView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
86 } else { 85 } else {
87 -  
88 -     self.automaticallyAdjustsScrollViewInsets = NO;  
89 - 86 + self.automaticallyAdjustsScrollViewInsets = NO;
90 } 87 }
91 88
92 89