I know it is possible to apply attributes to an NSAttributedString.
But how can we apply different attributes to same attributed string.
for the string "This is an attributed text."
How can we set a particular attribute(background color or foreground color) to "This is"
another attribute(background color or foreground color) to "an attributed text."
Is there any way to achieve this....?
Also is there any way to set the background color of an NSAttributedString in iOS?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…