From 4af05f0ed0bf5c8bae6786306ead275710a0fb3d Mon Sep 17 00:00:00 2001 From: Jack Date: Mon, 9 Jun 2014 14:06:14 +0800 Subject: [PATCH] fix selected the text message for cell bug. --- .../Classes/Views/MessageContentViews/XHMessageBubbleView.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MessageDisplayKit/Classes/Views/MessageContentViews/XHMessageBubbleView.m b/MessageDisplayKit/Classes/Views/MessageContentViews/XHMessageBubbleView.m index 4118671..e54e898 100644 --- a/MessageDisplayKit/Classes/Views/MessageContentViews/XHMessageBubbleView.m +++ b/MessageDisplayKit/Classes/Views/MessageContentViews/XHMessageBubbleView.m @@ -262,7 +262,7 @@ - (instancetype)initWithFrame:(CGRect)frame if (!_displayTextView) { SETextView *displayTextView = [[SETextView alloc] initWithFrame:CGRectZero]; displayTextView.backgroundColor = [UIColor clearColor]; - displayTextView.selectable = YES; + displayTextView.selectable = NO; displayTextView.lineSpacing = kXHTextLineSpacing; displayTextView.font = [[XHMessageBubbleView appearance] font]; displayTextView.showsEditingMenuAutomatically = NO;