在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
let myMutableString = NSMutableAttributedString(string: "100 Gained", attributes: [NSAttributedString.Key.font:UIFont(name: "Georgia", size: 18.0)!]) myMutableString.addAttribute(NSAttributedString.Key.foregroundColor, value: UIColor.purple, range: NSRange(location:0,length:myMutableString.length - 7)) // set label Attribute countL.attributedText = myMutableString
|
请发表评论