Commit d7033e7c83cc9ba7f252828b478b85c60af54bd0
1 parent
aa9a756b
主工程交互
Showing
2 changed files
with
3 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.0.14' | 11 | + s.version = '0.0.15' |
| 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/Controller/CNCategoryBaseViewController.m
| @@ -42,8 +42,9 @@ | @@ -42,8 +42,9 @@ | ||
| 42 | - (void)categoryViewSelectedItemAtIndex:(NSInteger)index | 42 | - (void)categoryViewSelectedItemAtIndex:(NSInteger)index |
| 43 | { | 43 | { |
| 44 | self.ld_currentIndex = index; | 44 | self.ld_currentIndex = index; |
| 45 | - [[CNLiveListManager shareListManager] setIsHiddenFirst:NO]; | 45 | + [CNLiveListManager shareListManager].isHiddenFirst = NO; |
| 46 | self.isHiddenFirst = NO; | 46 | self.isHiddenFirst = NO; |
| 47 | + [self.categoryView selectItemAtIndex:index]; | ||
| 47 | } | 48 | } |
| 48 | 49 | ||
| 49 | -(JXCategoryBaseView *)preferredCategoryView{ | 50 | -(JXCategoryBaseView *)preferredCategoryView{ |