Commit 89ce97ec326a87cdcaf717edc360999e79644714
1 parent
837f85d7
0.5.8
Showing
2 changed files
with
9 additions
and
2 deletions
CNLiveVideoClassifyKit.podspec
| @@ -8,7 +8,7 @@ | @@ -8,7 +8,7 @@ | ||
| 8 | 8 | ||
| 9 | Pod::Spec.new do |s| | 9 | Pod::Spec.new do |s| |
| 10 | s.name = 'CNLiveVideoClassifyKit' | 10 | s.name = 'CNLiveVideoClassifyKit' |
| 11 | - s.version = '0.5.7' | 11 | + s.version = '0.5.8' |
| 12 | s.summary = '视讯头部一二级菜单组件' | 12 | s.summary = '视讯头部一二级菜单组件' |
| 13 | 13 | ||
| 14 | # This description is used to generate tags and improve search results. | 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,7 +50,6 @@ static NSString *const CNWitnessSearchHeaderViewID = @"CNWitnessSearchHeaderView | ||
| 50 | } | 50 | } |
| 51 | - (void)viewDidLoad { | 51 | - (void)viewDidLoad { |
| 52 | [super viewDidLoad]; | 52 | [super viewDidLoad]; |
| 53 | - self.navigationController.interactivePopGestureRecognizer.delegate = self; | ||
| 54 | self.view.backgroundColor = UIColorHex(#E6E6E6); | 53 | self.view.backgroundColor = UIColorHex(#E6E6E6); |
| 55 | self.isShowAll = NO; | 54 | self.isShowAll = NO; |
| 56 | self.histories = [CNWitnessSearchPresent readSearchHistories]; | 55 | self.histories = [CNWitnessSearchPresent readSearchHistories]; |
| @@ -77,6 +76,14 @@ static NSString *const CNWitnessSearchHeaderViewID = @"CNWitnessSearchHeaderView | @@ -77,6 +76,14 @@ static NSString *const CNWitnessSearchHeaderViewID = @"CNWitnessSearchHeaderView | ||
| 77 | make.width.mas_equalTo(kScreenWidth); | 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 | - (BOOL)preferredNavigationBarHidden{ | 87 | - (BOOL)preferredNavigationBarHidden{ |
| 81 | return YES; | 88 | return YES; |
| 82 | } | 89 | } |