摘要:
//带有属性的文字 //1.创建对象 NSString *original = @"今天你还好吗?"; NSMutableAttributedString *attrTitle = [[NSMutableAttributedStringalloc] initWithString:original]; //2.设置颜色(NSForegroundColorAttributeName代表要设置颜色, value代表值, range 代表范围) /** 其他设置: 1.NSForegroundColorAttributeName //颜色 2.NSFontAttr... 阅读全文
posted @ 2014-03-25 08:40
itfav
阅读(2928)
评论(0)
推荐(0)

浙公网安备 33010602011771号