fixed:爱鱼看看页面适配

This commit is contained in:
jiangxuefei718
2019-03-14 12:08:30 +08:00
parent aef0570ebc
commit 310a8f0230
4 changed files with 14 additions and 16 deletions
@@ -472,8 +472,10 @@ extern BOOL isfromCameraView;
NSMutableAttributedString * attributedString = [[NSMutableAttributedString alloc] initWithString:msg];
[attributedString addAttribute:NSForegroundColorAttributeName value:[UIColor colorWithRed:0 green:170.0/255.0 blue:218.0/255.0 alpha:1] range:NSMakeRange(msg.length - 3 -_ssid.length,_ssid.length)];
NSMutableParagraphStyle *paraghStyle =[[NSMutableParagraphStyle alloc] init];
[paraghStyle setLineSpacing:4];
[attributedString addAttribute:NSForegroundColorAttributeName value:[UIColor colorWithRed:0 green:170.0/255.0 blue:218.0/255.0 alpha:1] range:NSMakeRange(msg.length - 3 -_ssid.length,_ssid.length)];
[attributedString addAttribute:NSParagraphStyleAttributeName value:paraghStyle range:NSMakeRange(0, msg.length)];
[_wifiNamelabel setAttributedText:attributedString];
_wifiTextFiled.secureTextEntry=NO;