Commit 4f738ae25466f8bfc27c08efe586c73025e35583

Authored by yanglingyu
1 parent dc2271c7

0.7.0

CNLiveVideoClassifyKit.podspec
... ... @@ -8,7 +8,7 @@
8 8  
9 9 Pod::Spec.new do |s|
10 10 s.name = 'CNLiveVideoClassifyKit'
11   - s.version = '0.6.9'
  11 + s.version = '0.7.0'
12 12 s.summary = '视讯头部一二级菜单组件'
13 13  
14 14 # This description is used to generate tags and improve search results.
... ...
CNLiveVideoClassifyKit/Classes/ClassifyCategory/Controller/CNCategoryBaseViewController.h
... ... @@ -6,10 +6,11 @@
6 6 //分类试图控制器基类
7 7  
8 8 #import <JXCategoryView/JXCategoryView.h>
  9 +#import <CNLiveBusinessBaseModule/CNCommonViewController.h>
9 10  
10 11 NS_ASSUME_NONNULL_BEGIN
11 12  
12   -@interface CNCategoryBaseViewController : UIViewController<JXCategoryViewDelegate,JXCategoryListContainerViewDelegate>
  13 +@interface CNCategoryBaseViewController : CNCommonViewController<JXCategoryViewDelegate,JXCategoryListContainerViewDelegate>
13 14  
14 15 @property (nonatomic, strong) JXCategoryBaseView *categoryView; //分类控制器
15 16 @property (nonatomic, strong) JXCategoryListContainerView *listContainerView;//分类控制器对应VC管理器
... ...
CNLiveVideoClassifyKit/Classes/ClassifyCategory/Controller/CNCategoryBaseViewController.m
... ... @@ -28,6 +28,9 @@
28 28 self.categoryView.frame = CGRectMake(0, kStatusHeight, self.view.bounds.size.width, [self preferredCategoryViewHeight]);
29 29 self.listContainerView.frame = CGRectMake(0, [self preferredCategoryViewHeight], self.view.bounds.size.width, self.view.bounds.size.height);
30 30 }
  31 +- (BOOL)preferredNavigationBarHidden{
  32 + return YES;
  33 +}
31 34 #pragma mark - Public
32 35 - (void)categoryViewSelectedItemAtIndex:(NSInteger)index
33 36 {
... ...
CNLiveVideoClassifyKit/Classes/ClassifyCategory/Controller/CNLiveClassifySegmentController.m
... ... @@ -212,7 +212,6 @@ static const CGFloat animationHeight = 15;
212 212 [[NSNotificationCenter defaultCenter] postNotificationName:kCNLiveDeepLinkPushNotification object:nil];
213 213 [[NSNotificationCenter defaultCenter] postNotificationName:kCNLiveRemotePushNotification object:nil];
214 214 }
215   - self.navigationController.navigationBarHidden = YES;
216 215 [[NSUserDefaults standardUserDefaults] setBool:YES forKey:CNLiveLaunchWithFirsh];
217 216 [[NSUserDefaults standardUserDefaults] synchronize];
218 217 self.tabBarController.tabBar.hidden = NO;
... ... @@ -228,7 +227,6 @@ static const CGFloat animationHeight = 15;
228 227 - (void)viewWillDisappear:(BOOL)animated {
229 228 [super viewWillDisappear:animated];
230 229 [self quitCustomChannels];
231   - self.navigationController.navigationBarHidden = NO;
232 230 self.navigationController.interactivePopGestureRecognizer.enabled = NO;
233 231 }
234 232 - (void)dealloc
... ...
CNLiveVideoClassifyKit/Classes/ClassifyCategory/Controller/CNLiveListController.h
... ... @@ -10,7 +10,7 @@
10 10  
11 11 NS_ASSUME_NONNULL_BEGIN
12 12  
13   -@interface CNLiveListController : UIViewController<JXCategoryListContentViewDelegate>
  13 +@interface CNLiveListController : CNCommonViewController<JXCategoryListContentViewDelegate>
14 14  
15 15 /**
16 16 创建View
... ...
CNLiveVideoClassifyKit/Classes/ClassifyCategory/Controller/CNLiveListController.m
... ... @@ -108,7 +108,9 @@
108 108 }
109 109 // Do any additional setup after loading the view.
110 110 }
111   -
  111 +- (BOOL)preferredNavigationBarHidden{
  112 + return YES;
  113 +}
112 114 + (BOOL)searchProperties:(Class)cls string:(NSString *)key
113 115 {
114 116 unsigned int count;
... ...
CNLiveVideoClassifyKit/Classes/ClassifyCategory/Controller/CNLiveSubSegmentController.m
... ... @@ -211,7 +211,6 @@
211 211 - (void)viewWillAppear:(BOOL)animated
212 212 {
213 213 [super viewWillAppear:animated];
214   - self.navigationController.navigationBarHidden = YES;
215 214 }
216 215 - (void)viewWillDisappear:(BOOL)animated
217 216 {
... ...