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
Post a Comment