Commit 89ce97ec326a87cdcaf717edc360999e79644714

Authored by yanglingyu
1 parent 837f85d7

0.5.8

CNLiveVideoClassifyKit.podspec
... ... @@ -8,7 +8,7 @@
8 8  
9 9 Pod::Spec.new do |s|
10 10 s.name = 'CNLiveVideoClassifyKit'
11   - s.version = '0.5.7'
  11 + s.version = '0.5.8'
12 12 s.summary = '视讯头部一二级菜单组件'
13 13  
14 14 # This description is used to generate tags and improve search results.
... ...
CNLiveVideoClassifyKit/Classes/SearchView/ViewController/CNWitnessSearchViewController.m
... ... @@ -50,7 +50,6 @@ static NSString *const CNWitnessSearchHeaderViewID = @"CNWitnessSearchHeaderView
50 50 }
51 51 - (void)viewDidLoad {
52 52 [super viewDidLoad];
53   - self.navigationController.interactivePopGestureRecognizer.delegate = self;
54 53 self.view.backgroundColor = UIColorHex(#E6E6E6);
55 54 self.isShowAll = NO;
56 55 self.histories = [CNWitnessSearchPresent readSearchHistories];
... ... @@ -77,6 +76,14 @@ static NSString *const CNWitnessSearchHeaderViewID = @"CNWitnessSearchHeaderView
77 76 make.width.mas_equalTo(kScreenWidth);
78 77 }];
79 78 }
  79 +- (void)viewDidAppear:(BOOL)animated{
  80 + [super viewDidAppear:animated];
  81 + self.navigationController.interactivePopGestureRecognizer.delegate = self;
  82 +}
  83 +- (void)viewDidDisappear:(BOOL)animated{
  84 + [super viewDidDisappear:animated];
  85 + self.navigationController.interactivePopGestureRecognizer.delegate = nil;
  86 +}
80 87 - (BOOL)preferredNavigationBarHidden{
81 88 return YES;
82 89 }
... ...