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