摄像头分享和二维码生成规则修改
This commit is contained in:
+2
-2
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user