【发布时间】:2020-02-14 01:56:42
【问题描述】:
我看到我只能使用以下语句更改警报标题颜色:
alert.setValue(NSAttributedString(string: alert.message, attributes: [NSFontAttributeName : UIFont.systemFont(ofSize: 29, weight: UIFontWeightMedium), NSForegroundColorAttributeName : UIColor.red]), forKey: "attributedTitle")
【问题讨论】:
-
好的,你遇到了什么问题
-
感谢 Schaheer Saleem 的回答 :)