Commit 6ad2b766e446f49a86fc04e09d7a66ec2f956510
1 parent
fe2e0c9e
闪退修改
Showing
3 changed files
with
10 additions
and
4 deletions
CNLiveVideoClassifyKit.podspec
CNLiveVideoClassifyKit/Classes/Controller/CNLiveClassifySegmentController.m
| ... | ... | @@ -845,7 +845,9 @@ static CGFloat moveHeight = 50; |
| 845 | 845 | if ([model.id isEqualToString:@"1"]) { |
| 846 | 846 | time = 60; |
| 847 | 847 | } |
| 848 | - [CNLiveClassifyJumpBridge listViewRefreshWithVC:self.listContainerView.viewController pageType:model.pageType.integerValue param:paramDic refreshTime:time]; | |
| 848 | + NSDictionary *controllers = self.listContainerView.validListDict; | |
| 849 | + CNLiveListController *list = controllers[@(self.ld_currentIndex)]; | |
| 850 | + [CNLiveClassifyJumpBridge listViewRefreshWithVC:list.childViewControllers[0] pageType:model.pageType.integerValue param:paramDic refreshTime:time]; | |
| 849 | 851 | } |
| 850 | 852 | if (index != self.myCategoryView.selectedIndex) { |
| 851 | 853 | [[NSNotificationCenter defaultCenter] postNotificationName:WjjH5StopVideoPlayerNotification object:nil]; | ... | ... |
CNLiveVideoClassifyKit/Classes/Controller/CNLiveSubSegmentController.m
| ... | ... | @@ -373,7 +373,9 @@ |
| 373 | 373 | if ([model.id isEqualToString:@"1"]) { |
| 374 | 374 | time = 60; |
| 375 | 375 | } |
| 376 | - [CNLiveClassifyJumpBridge listViewRefreshWithVC:self.listContainerView.viewController pageType:model.pageType.integerValue param:paramDic refreshTime:time]; | |
| 376 | + NSDictionary *controllers = self.listContainerView.validListDict; | |
| 377 | + CNLiveListController *list = controllers[@(self.ld_currentIndex)]; | |
| 378 | + [CNLiveClassifyJumpBridge listViewRefreshWithVC:list.childViewControllers[0] pageType:model.pageType.integerValue param:paramDic refreshTime:time]; | |
| 377 | 379 | } |
| 378 | 380 | -(void)showGuideView |
| 379 | 381 | { |
| ... | ... | @@ -547,7 +549,9 @@ |
| 547 | 549 | if ([model.id isEqualToString:@"1"]) { |
| 548 | 550 | time = 60; |
| 549 | 551 | } |
| 550 | - [CNLiveClassifyJumpBridge listViewRefreshWithVC:self.listContainerView.viewController pageType:model.pageType.integerValue param:paramDic refreshTime:time]; | |
| 552 | + NSDictionary *controllers = self.listContainerView.validListDict; | |
| 553 | + CNLiveListController *list = controllers[@(self.ld_currentIndex)]; | |
| 554 | + [CNLiveClassifyJumpBridge listViewRefreshWithVC:list.childViewControllers[0] pageType:model.pageType.integerValue param:paramDic refreshTime:time]; | |
| 551 | 555 | [self showGuideView]; |
| 552 | 556 | weakself |
| 553 | 557 | [self.bgImgView sd_setImageWithURL:[NSURL URLWithString:self.backImageH5] completed:^(UIImage * _Nullable image, NSError * _Nullable error, SDImageCacheType cacheType, NSURL * _Nullable imageURL) { | ... | ... |