Commit 6856ae606fc3f3b09316038249d0c8026f8aa7d5
1 parent
c7d997a7
no message
Showing
1 changed file
with
1 additions
and
0 deletions
CNLiveBLoginModule/Classes/View/CNLiveCompleteInfoView.m
| @@ -125,6 +125,7 @@ static const NSInteger timeValue = 1.5; | @@ -125,6 +125,7 @@ static const NSInteger timeValue = 1.5; | ||
| 125 | } | 125 | } |
| 126 | 126 | ||
| 127 | - (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string { | 127 | - (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string { |
| 128 | + | ||
| 128 | if ([textField isEqual:_nickname]) { | 129 | if ([textField isEqual:_nickname]) { |
| 129 | NSInteger maxTextLength = 20; | 130 | NSInteger maxTextLength = 20; |
| 130 | if(string.length == 0) { | 131 | if(string.length == 0) { |