I've a UILable with text "This is label with UIMenuController". I've added UILongPressGesture on label and open UIMenuController from it.
Menu controller considers frame of UILable as a source view (as it's its natural behavior), but I want specific word on UILabel should become a source point of UIMenuController and copy the same word into UIPaseBoard area.
i.e.: If I tap/press on word 'label' in UILabel frame, then source point of UIMenuController should be word 'label' and it should get copied into UIPasteboard.
How can I achieve this.
Hint:
I visited this question, it considers whole text of UILabel and I need specific range of text on which user clicks (long press)
Show iPhone cut copy paste menu on UILabel
Here is ref, snapshot.
