Commit fd17eabe71c9a59134ee6e8f212e4bac8201066f

Authored by iOS-Xiaowen
1 parent 82ff9f0d

no message

CNLiveBMineModule.podspec
... ... @@ -126,5 +126,5 @@ TODO: 网家家企业版-我的模块.
126 126  
127 127 s.static_framework = true
128 128 s.xcconfig = { 'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES' }
129   -
  129 + s.pod_target_xcconfig ={'OTHER_LDFLAGS' =>'-ObjC'}
130 130 end
... ...
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 }
... ...