1

When selecting characters from a UITextField, there are two (2) bars that serves as the selection indicators

I know that you can hide it if you set the color to clear, but if i want the tint to stay blue and remove the 2 selection indicator bars, is it possible?

EDIT:

not just the menu guys, I also need to remove the indicators (the blue pin with a circle head) while letting it stay blue.

Is there any way to remove them?

Screenshot

Ace Rivera
  • 620
  • 4
  • 14
  • https://stackoverflow.com/questions/39503873/disable-blinking-cursor-from-uitextfield-in-swift Try this – Ishika Sep 12 '17 at 04:37
  • hmm. i don't think it is the same CURSOR as the one mentioned in that post. Moreover, I also want the menu to not popup (the one containing select all, copy, paste, etc) – Ace Rivera Sep 12 '17 at 04:40
  • https://blog.apoorvmote.com/remove-cursor-and-disable-copypaste-for-uitextfield/ Try this – Ishika Sep 12 '17 at 04:50
  • I think you have probably found the solution already. But if you want to remove the indicators, I think `yourTextField.tintColor = .clear` should work. – Brudus Jun 06 '18 at 10:05
  • 1
    People flagging questions as duplicate when they have no clue omg... – thibaut noah Mar 11 '19 at 12:53

0 Answers0