Yogesh Gupta Yogesh Gupta - 7 months ago 79
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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download