ios-UITextView 添加手势响应不灵敏

遵守 UIGestureRecognizerDelegate协议,确定手势同时响应的条件

- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer {
    return true;
}

你可能感兴趣的:(ios-UITextView 添加手势响应不灵敏)