In UITextview
when touch is pressed for the longer time magnifying glass shows up. How can i disable it.
Finally this issue is also resolved
Here is the code for reference in case anyone needs
in the m file of subclassed UITextview added code
-(void)addGestureRecognizer:(UIGestureRecognizer *)gestureRecognizer
{
//Prevent zooming but not panning
if ([gestureRecognizer isKindOfClass:[UILongPressGestureRecognizer class]])
{
gestureRecognizer.enabled = NO;
}
[super addGestureRecognizer:gestureRecognizer];
return;
}
It works.