0

Is there a way to programmatically select a text without showing the pins at the beginning and at the end of the selected text?

Example:

sebenalern
  • 2,515
  • 3
  • 26
  • 36
Eduardo
  • 109
  • 1
  • 7

1 Answers1

-1

Although you should be more precise, I presume you just want to highlight some parts of the text with a background color. Therefore you can use NSAttributedString.

You can look up how to create an attributed String here and how to use background color on it here.

Community
  • 1
  • 1
fredpi
  • 8,414
  • 5
  • 41
  • 61