Manage long press on UITextfiled without disabling context menu?
问题 I've UITableView and its cell have one UITextField. Now I added long gesture in UITextField but it not working. When I tap long gesture on textfield it always show context menu (select,copy cut,past,etc.). My question is that how to manage long gesture as well as context menu in UITextFiled. I've tried below code: longGesture = [[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(handleLongPress:)]; longGesture.minimumPressDuration = 2.0; //seconds longGesture.delegate =