Commit 8ca851faba3c610fb804f9ea149bbc16730d9054
1 parent
450ffb70
0.7.5
Showing
3 changed files
with
6 additions
and
5 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.7.4' | 11 | + s.version = '0.7.5' |
| 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/ClassifyCategory/Controller/CNCategoryBaseViewController.h
| @@ -10,7 +10,7 @@ | @@ -10,7 +10,7 @@ | ||
| 10 | 10 | ||
| 11 | NS_ASSUME_NONNULL_BEGIN | 11 | NS_ASSUME_NONNULL_BEGIN |
| 12 | 12 | ||
| 13 | -@interface CNCategoryBaseViewController : CNCommonViewController<JXCategoryViewDelegate,JXCategoryListContainerViewDelegate> | 13 | +@interface CNCategoryBaseViewController : UIViewController<JXCategoryViewDelegate,JXCategoryListContainerViewDelegate> |
| 14 | 14 | ||
| 15 | @property (nonatomic, strong) JXCategoryBaseView *categoryView; //分类控制器 | 15 | @property (nonatomic, strong) JXCategoryBaseView *categoryView; //分类控制器 |
| 16 | @property (nonatomic, strong) JXCategoryListContainerView *listContainerView;//分类控制器对应VC管理器 | 16 | @property (nonatomic, strong) JXCategoryListContainerView *listContainerView;//分类控制器对应VC管理器 |
CNLiveVideoClassifyKit/Classes/ClassifyCategory/Controller/CNCategoryBaseViewController.m
| @@ -22,15 +22,16 @@ | @@ -22,15 +22,16 @@ | ||
| 22 | 22 | ||
| 23 | // Do any additional setup after loading the view. | 23 | // Do any additional setup after loading the view. |
| 24 | } | 24 | } |
| 25 | +- (void)viewWillAppear:(BOOL)animated{ | ||
| 26 | + [super viewWillAppear:animated]; | ||
| 27 | + self.navigationController.navigationBarHidden = YES; | ||
| 28 | +} | ||
| 25 | - (void)viewDidLayoutSubviews | 29 | - (void)viewDidLayoutSubviews |
| 26 | { | 30 | { |
| 27 | [super viewDidLayoutSubviews]; | 31 | [super viewDidLayoutSubviews]; |
| 28 | self.categoryView.frame = CGRectMake(0, kStatusHeight, self.view.bounds.size.width, [self preferredCategoryViewHeight]); | 32 | self.categoryView.frame = CGRectMake(0, kStatusHeight, self.view.bounds.size.width, [self preferredCategoryViewHeight]); |
| 29 | self.listContainerView.frame = CGRectMake(0, [self preferredCategoryViewHeight], self.view.bounds.size.width, self.view.bounds.size.height); | 33 | self.listContainerView.frame = CGRectMake(0, [self preferredCategoryViewHeight], self.view.bounds.size.width, self.view.bounds.size.height); |
| 30 | } | 34 | } |
| 31 | -- (BOOL)preferredNavigationBarHidden{ | ||
| 32 | - return YES; | ||
| 33 | -} | ||
| 34 | #pragma mark - Public | 35 | #pragma mark - Public |
| 35 | - (void)categoryViewSelectedItemAtIndex:(NSInteger)index | 36 | - (void)categoryViewSelectedItemAtIndex:(NSInteger)index |
| 36 | { | 37 | { |