Yogesh Gupta Yogesh Gupta - 2 months ago 15
iOS Question

Disable magnifying glass of UITextView But enable the Link and phone number detection in objective c

I have an issue with UITextview in iOS9, when i do a longpress on textview it shows the magnifying glass. I tried to disable through UILongPressGestureRecognizer, it completely disables the Link and phone touch events also.

How to Disable only Magnifing glass.
the textview will be in a UITableView cell.

Answer Source

If I understand you correctly, you want to disable magnifying glass but it was system called.you can only do only was that change UIMenuController state:hidden or show and the UIMenuItem within UIMenuController. like this

enter image description here