1

How to show popup "copy" when select cell of table ?

enter image description here

Pramod Gharu
  • 1,105
  • 3
  • 9
  • 18
Noung
  • 23
  • 4

1 Answers1

-1

You can't do it the normal way with UILabel. If you still want to do it, use UITextField instead and disable editing (It will act as label and allow text selection). If you want to use UILabel anyways, you might want to look into UILongGestureRecognizer and UIPasteBoard. Add gesture to the label and on its delegate method, copy text to paste board.