ios - Rounded corners with NSMutableAttributedString -


my question think simple couldn't find google. using nsmutableattributedstring modify styles in string , example use code change background color:

    [string addattribute:nsbackgroundcolorattributename value:[uicolor colorwithred:0.4 green:0.8 blue:1 alpha:1] range:nsmakerange(0,18)]; 

and question is, how can round corners of background?
in advance.


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

html - How can i make an element from a bottom stacking context stays in front of another higher stacking context? -

html - href attribute breaking an element -