Commit f28827cc77a21fe1f1a4b22af812172c752cc927
1 parent
16543452
修复视讯网页划不到底问题
Showing
2 changed files
with
2 additions
and
1 deletions
CNLiveVideoClassifyKit.podspec
CNLiveVideoClassifyKit/Classes/ClassifyCategory/Controller/CNLiveListController.m
| ... | ... | @@ -90,6 +90,7 @@ |
| 90 | 90 | UIViewController *vc = self.childViewControllers[0]; |
| 91 | 91 | if (([CNLiveListController searchProperties:[vc class] string:@"webView"]||[CNLiveListController searchProperties:[vc.superclass class] string:@"webView"])&&[vc valueForKey:@"webView"]&&[[vc valueForKey:@"webView"] isKindOfClass:[WKWebView class]]) { |
| 92 | 92 | WKWebView *webView = (WKWebView *)[vc valueForKey:@"webView"]; |
| 93 | + webView.frame = self.view.frame; | |
| 93 | 94 | [webView.scrollView removeObserver:self forKeyPath:@"contentOffset"]; |
| 94 | 95 | |
| 95 | 96 | if ([webView.scrollView valueForKey:@"mj_header"]) { | ... | ... |