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 -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -