Organizational Research By

Surprising Reserch Topic

nsbackgroundcolorattributename like attribute in nsattributedstring on ios using -'objective-c,ios,core-text,nsattributedstring'


nsbackgroundcolorattributename like attribute in nsattributedstring on ios  using -'objective-c,ios,core-text,nsattributedstring'

I was planning on using NSAttributedString to highlight portions of strings with the matching query of a user's search. However, I can't find an iOS equivalent of NSBackgroundColorAttributeName‚ÄĒthere's no kCTBackgroundColorAttributeName. Does such a thing exist, similar to the way NSForegroundColorAttributeName becomes kCTForegroundColorAttributeName?
    

asked Sep 7, 2015 by rajesh
0 votes
33 views



Related Hot Questions

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

...