0

I would like to implement a textView to show text in my app. But I need to replace every text which is in [ ] with a custom view, like in the picture shown. Is this possible with a UITextView, or are there other ways to archive this in swift?

Example of what it should look like

I hope you can help me.

Quintus_2
  • 111
  • 2
  • 10
  • https://stackoverflow.com/questions/16362407/nsattributedstring-background-color-and-rounded-corners ? https://stackoverflow.com/questions/21857408/how-to-set-nsstrings-background-cornerradius-on-ios7 ? – Larme Oct 14 '18 at 18:22
  • Thank you very much! This seems to do what I wanted! – Quintus_2 Oct 14 '18 at 18:26

0 Answers0