Commit ffa98ca77338fe958d899c2247c66753770c5ea6
1 parent
f7db071f
准备页面完成
Showing
1 changed file
with
3 additions
and
5 deletions
LiveVideoCloud/LiveVideoCloud/Classes/Sections/LiveSections/View/LVCUGCLivePrepareView.m
| @@ -49,11 +49,9 @@ | @@ -49,11 +49,9 @@ | ||
| 49 | 49 | ||
| 50 | if (!_titleTextField) { | 50 | if (!_titleTextField) { |
| 51 | _titleTextField = [[UITextField alloc] initWithFrame:CGRectMake(110, SCREEN_HEIGHT * 0.35 + 50, SCREEN_WIDTH - 120, 30)]; | 51 | _titleTextField = [[UITextField alloc] initWithFrame:CGRectMake(110, SCREEN_HEIGHT * 0.35 + 50, SCREEN_WIDTH - 120, 30)]; |
| 52 | - | ||
| 53 | - NSMutableAttributedString *placeholder = [[NSMutableAttributedString alloc]initWithString:@"起个名字开始直播~"]; | ||
| 54 | - | ||
| 55 | - | ||
| 56 | - _titleTextField.attributedPlaceholder = placeholder; | 52 | + |
| 53 | + UIColor *color = [UIColor colorWithRed:23/255.0 green:110/255.0 blue:254/255.0 alpha:1]; | ||
| 54 | + _titleTextField.attributedPlaceholder = [[NSAttributedString alloc] initWithString:@"起个名字开始直播~" attributes:@{NSForegroundColorAttributeName: color}]; | ||
| 57 | 55 | ||
| 58 | _titleTextField.font = [UIFont systemFontOfSize:19]; | 56 | _titleTextField.font = [UIFont systemFontOfSize:19]; |
| 59 | } | 57 | } |