Commit 8aae71fb16f7fbc69f7b8782a91fffc6efddb39d
1 parent
1e72be78
0.6.5输入框配置
Showing
2 changed files
with
8 additions
and
3 deletions
CNLiveCMineModule.podspec
| ... | ... | @@ -8,7 +8,7 @@ |
| 8 | 8 | |
| 9 | 9 | Pod::Spec.new do |s| |
| 10 | 10 | s.name = 'CNLiveCMineModule' |
| 11 | - s.version = '0.6.4' | |
| 11 | + s.version = '0.6.5' | |
| 12 | 12 | s.summary = '网家家C端个人中心' |
| 13 | 13 | |
| 14 | 14 | # This description is used to generate tags and improve search results. |
| ... | ... | @@ -78,5 +78,7 @@ TODO: Add long description of the pod here. |
| 78 | 78 | s.dependency 'libksygpulive' |
| 79 | 79 | s.dependency 'CNLiveNewTripartiteManagement/MBProgressHUD' |
| 80 | 80 | s.dependency 'CNLiveNewIMAManagerKit' |
| 81 | + s.dependency 'CNLiveNewTripartiteManagement/IQKeyboardManager' | |
| 81 | 82 | end |
| 82 | 83 | |
| 84 | + | ... | ... |
CNLiveCMineModule/Classes/CNCMine/View/CNMineEvaAlertView.m
| ... | ... | @@ -9,6 +9,7 @@ |
| 9 | 9 | #import "CNSwitchView.h" |
| 10 | 10 | #import "CNPlaceholderTextView.h" |
| 11 | 11 | #import <DSBaseModule/DSBaseModule.h> |
| 12 | +#import <IQKeyboardManager/IQKeyboardManager.h> | |
| 12 | 13 | @interface CNMineEvaAlertView() |
| 13 | 14 | @property (nonatomic, strong) UIImageView *topImage; |
| 14 | 15 | @property (nonatomic, strong) UIView *bgView; |
| ... | ... | @@ -187,12 +188,14 @@ |
| 187 | 188 | return alertView; |
| 188 | 189 | } |
| 189 | 190 | - (void)dealloc{ |
| 190 | - [[NSNotificationCenter defaultCenter] removeObserver:self]; | |
| 191 | +// [[NSNotificationCenter defaultCenter] removeObserver:self]; | |
| 191 | 192 | NSLog(@"CNMineEvaAlertView - dealloc"); |
| 192 | 193 | } |
| 193 | 194 | - (instancetype)init{ |
| 194 | 195 | if(self = [super init]){ |
| 195 | - [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardShowNoti:) name:UIKeyboardWillShowNotification object:Nil]; | |
| 196 | +// [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardShowNoti:) name:UIKeyboardWillShowNotification object:Nil]; | |
| 197 | + [IQKeyboardManager sharedManager].enable = YES; | |
| 198 | + [IQKeyboardManager sharedManager].enableAutoToolbar = YES; | |
| 196 | 199 | } |
| 197 | 200 | return self; |
| 198 | 201 | } | ... | ... |