Commit 06739714aa963dd96ff4c14c41af1f8d39b3da1e
1 parent
b35b13d7
提交0.0.23
Showing
2 changed files
with
5 additions
and
8 deletions
CNLiveServiceCenterModule.podspec
CNLiveServiceCenterModule/Classes/CNLiveServiceCenterModule/Controller/CNLiveBCreatorViewController.m
| ... | ... | @@ -61,7 +61,7 @@ |
| 61 | 61 | [self.view addSubview:progress]; |
| 62 | 62 | self.progressView = progress; |
| 63 | 63 | |
| 64 | - self.extendedLayoutIncludesOpaqueBars = YES; | |
| 64 | + | |
| 65 | 65 | |
| 66 | 66 | self.view.backgroundColor = [UIColor whiteColor]; |
| 67 | 67 | WKWebView *webView = [[WKWebView alloc] initWithFrame:CGRectMake(0, kNavigationBarHeight, kScreenWidth, KScreenHeight - kNavigationBarHeight)]; |
| ... | ... | @@ -79,14 +79,11 @@ |
| 79 | 79 | |
| 80 | 80 | self.wkwebView = webView; |
| 81 | 81 | |
| 82 | + self.extendedLayoutIncludesOpaqueBars = YES; | |
| 82 | 83 | if (@available(iOS 11.0, *)) { |
| 83 | - | |
| 84 | - self.wkwebView.scrollView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever; | |
| 85 | - | |
| 84 | + self.wkwebView.scrollView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever; | |
| 86 | 85 | } else { |
| 87 | - | |
| 88 | - self.automaticallyAdjustsScrollViewInsets = NO; | |
| 89 | - | |
| 86 | + self.automaticallyAdjustsScrollViewInsets = NO; | |
| 90 | 87 | } |
| 91 | 88 | |
| 92 | 89 | ... | ... |