jmc*_*tel 3 colors pull-to-refresh swift
我在我的应用程序中刷新了一下.
如何更改attributionTitle的文本颜色?
refresher.attributedTitle = NSAttributedString(string: "hey ! is there something new ?")
Run Code Online (Sandbox Code Playgroud)
ccw*_*den 11
尝试
var attr = [NSForegroundColorAttributeName:UIColor.greenColor()]
refresher.attributedTitle = NSAttributedString(string: "hey ! is there something new ?", attributes:attr)
Run Code Online (Sandbox Code Playgroud)