Commit f28827cc77a21fe1f1a4b22af812172c752cc927

Authored by yanglingyu
1 parent 16543452

修复视讯网页划不到底问题

CNLiveVideoClassifyKit.podspec
... ... @@ -8,7 +8,7 @@
8 8  
9 9 Pod::Spec.new do |s|
10 10 s.name = 'CNLiveVideoClassifyKit'
11   - s.version = '0.0.24'
  11 + s.version = '0.0.25'
12 12 s.summary = '视讯头部一二级菜单组件'
13 13  
14 14 # This description is used to generate tags and improve search results.
... ...
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"]) {
... ...