开发者

How do I set the color for an NSAttributedString on iPad?

I've seen a lot of questions related to colored text answered with "check out NSAttributedString", but the NSForegroundColorAttributeName constant that is defined for Mac OS does not seem to be defined for iOS 3.开发者_开发百科2+


Use the kCTForegroundColorAttributeName constant instead.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜