摄像头分享和二维码生成规则修改

This commit is contained in:
kai60
2020-05-16 17:17:21 +08:00
parent 9b266aea7b
commit aff0f33ec6
6 changed files with 136 additions and 23 deletions
@@ -622,7 +622,7 @@ Strong UIImage *screenShotImage;//截图
}
else
{
title=@"水族";
title=@"水族";
}
[seg initleftTitle:@"摄像头" addRightTitle:title isSelectStyle:YES];
@@ -1060,7 +1060,7 @@ Strong UIImage *screenShotImage;//截图
NSMutableParagraphStyle * paragraphStyle = [[NSMutableParagraphStyle alloc] init];
[paragraphStyle setLineSpacing:12];
[attributedString addAttribute:NSParagraphStyleAttributeName value:paragraphStyle range:NSMakeRange(0, [title length])];
[attributedString addAttribute:NSForegroundColorAttributeName value:[UIColor colorWithRed:0 green:170.0/255.0 blue:218.0/255.0 alpha:1] range:NSMakeRange(9,4)];
[attributedString addAttribute:NSForegroundColorAttributeName value:[UIColor colorWithRed:0 green:170.0/255.0 blue:218.0/255.0 alpha:1] range:NSMakeRange(13,4)];
[attributedString addAttribute:NSForegroundColorAttributeName value:[UIColor blackColor] range:NSMakeRange(0,13)];
[attributedString addAttribute:NSForegroundColorAttributeName value:[UIColor blackColor] range:NSMakeRange([title length]-1,1)];
[notbindBtn setAttributedTitle:attributedString forState:UIControlStateNormal];