0

I have an UITextView and I want to set a button on every link which contains in the text view. I already underlined it. But didn't get a way to set a button on it. My purpose is set a white background and change the colour of the link. Also that button edges should be rounded.

I underlined it like following,

cell.text.linkTextAttributes = @{NSForegroundColorAttributeName: [UIColor whiteColor], NSUnderlineStyleAttributeName: [NSNumber numberWithInt:NSUnderlineStyleSingle]};

How may I add a button or clickable item with white background, blue text color and round edges?

codebot
  • 2,540
  • 3
  • 38
  • 89

0 Answers0