Commit fd17eabe71c9a59134ee6e8f212e4bac8201066f
1 parent
82ff9f0d
no message
Showing
3 changed files
with
4 additions
and
3 deletions
CNLiveBMineModule.podspec
CNLiveBMineModule/Classes/Controller/CNLiveMineController.m
| ... | ... | @@ -24,6 +24,7 @@ |
| 24 | 24 | |
| 25 | 25 | #import "CNLiveUserInfoController.h" |
| 26 | 26 | #import "CNLiveSettingController.h" |
| 27 | +#import "CNLiveHomePageProtocol.h" | |
| 27 | 28 | |
| 28 | 29 | @interface CNLiveMineController()<UITableViewDelegate, UITableViewDataSource, CNLiveMineHeaderViewDelegate> |
| 29 | 30 | @property (nonatomic, strong) UITableView *tableView; |
| ... | ... | @@ -135,7 +136,8 @@ static const CGFloat timeValue = 1.5; |
| 135 | 136 | break; |
| 136 | 137 | case CNLiveMineHeaderViewTypeHome: |
| 137 | 138 | { |
| 138 | - | |
| 139 | + id<CNLiveHomePageProtocol> service = [[BeeHive shareInstance] createService:@protocol(CNLiveHomePageProtocol)]; | |
| 140 | + [service pushLiveHomePageViewController]; | |
| 139 | 141 | } |
| 140 | 142 | break; |
| 141 | 143 | } | ... | ... |
CNLiveBMineModule/Classes/View/CNLiveMineHeaderView.m
| ... | ... | @@ -230,7 +230,6 @@ static const NSInteger margin = 20; |
| 230 | 230 | |
| 231 | 231 | - (void)homeDidClicked:(UIButton *)btn{ |
| 232 | 232 | if (self.delegate && [self.delegate respondsToSelector:@selector(headerView:pushToController:)]) { |
| 233 | - btn.userInteractionEnabled = NO; | |
| 234 | 233 | [self.delegate headerView:self pushToController:CNLiveMineHeaderViewTypeHome]; |
| 235 | 234 | } |
| 236 | 235 | } | ... | ... |