diff --git a/Example/MessageDisplayKitLeanchatExample/MessageDisplayKitLeanchatExample/Vendor/MessageDisplayKit/MessageDisplayKit.framework/Info.plist b/Example/MessageDisplayKitLeanchatExample/MessageDisplayKitLeanchatExample/Vendor/MessageDisplayKit/MessageDisplayKit.framework/Info.plist
index 4415576..e7c6975 100644
Binary files a/Example/MessageDisplayKitLeanchatExample/MessageDisplayKitLeanchatExample/Vendor/MessageDisplayKit/MessageDisplayKit.framework/Info.plist and b/Example/MessageDisplayKitLeanchatExample/MessageDisplayKitLeanchatExample/Vendor/MessageDisplayKit/MessageDisplayKit.framework/Info.plist differ
diff --git a/Example/MessageDisplayKitLeanchatExample/MessageDisplayKitLeanchatExample/Vendor/MessageDisplayKit/MessageDisplayKit.framework/MessageDisplayKit b/Example/MessageDisplayKitLeanchatExample/MessageDisplayKitLeanchatExample/Vendor/MessageDisplayKit/MessageDisplayKit.framework/MessageDisplayKit
index a9c0f4d..e7a77b6 100755
Binary files a/Example/MessageDisplayKitLeanchatExample/MessageDisplayKitLeanchatExample/Vendor/MessageDisplayKit/MessageDisplayKit.framework/MessageDisplayKit and b/Example/MessageDisplayKitLeanchatExample/MessageDisplayKitLeanchatExample/Vendor/MessageDisplayKit/MessageDisplayKit.framework/MessageDisplayKit differ
diff --git a/Example/MessageDisplayKitLeanchatExample/MessageDisplayKitLeanchatExample/Vendor/MessageDisplayKit/MessageDisplayKit.framework/_CodeSignature/CodeResources b/Example/MessageDisplayKitLeanchatExample/MessageDisplayKitLeanchatExample/Vendor/MessageDisplayKit/MessageDisplayKit.framework/_CodeSignature/CodeResources
index 4ee37ab..80e6f10 100644
--- a/Example/MessageDisplayKitLeanchatExample/MessageDisplayKitLeanchatExample/Vendor/MessageDisplayKit/MessageDisplayKit.framework/_CodeSignature/CodeResources
+++ b/Example/MessageDisplayKitLeanchatExample/MessageDisplayKitLeanchatExample/Vendor/MessageDisplayKit/MessageDisplayKit.framework/_CodeSignature/CodeResources
@@ -298,7 +298,7 @@
Info.plist
- zBLCTvmx/Yd+4c9sd592an+PKjY=
+ KwohJviyPKKGG3lkZWgizBj0Xnc=
MessageVideoPlay@2x.png
diff --git a/Example/MessageDisplayKitWeChatExample/MessageDisplayKitWeChatExample/Vendor/MessageDisplayKit/MessageDisplayKit.framework/Info.plist b/Example/MessageDisplayKitWeChatExample/MessageDisplayKitWeChatExample/Vendor/MessageDisplayKit/MessageDisplayKit.framework/Info.plist
index 4415576..e7c6975 100644
Binary files a/Example/MessageDisplayKitWeChatExample/MessageDisplayKitWeChatExample/Vendor/MessageDisplayKit/MessageDisplayKit.framework/Info.plist and b/Example/MessageDisplayKitWeChatExample/MessageDisplayKitWeChatExample/Vendor/MessageDisplayKit/MessageDisplayKit.framework/Info.plist differ
diff --git a/Example/MessageDisplayKitWeChatExample/MessageDisplayKitWeChatExample/Vendor/MessageDisplayKit/MessageDisplayKit.framework/MessageDisplayKit b/Example/MessageDisplayKitWeChatExample/MessageDisplayKitWeChatExample/Vendor/MessageDisplayKit/MessageDisplayKit.framework/MessageDisplayKit
index a9c0f4d..e7a77b6 100755
Binary files a/Example/MessageDisplayKitWeChatExample/MessageDisplayKitWeChatExample/Vendor/MessageDisplayKit/MessageDisplayKit.framework/MessageDisplayKit and b/Example/MessageDisplayKitWeChatExample/MessageDisplayKitWeChatExample/Vendor/MessageDisplayKit/MessageDisplayKit.framework/MessageDisplayKit differ
diff --git a/Example/MessageDisplayKitWeChatExample/MessageDisplayKitWeChatExample/Vendor/MessageDisplayKit/MessageDisplayKit.framework/_CodeSignature/CodeResources b/Example/MessageDisplayKitWeChatExample/MessageDisplayKitWeChatExample/Vendor/MessageDisplayKit/MessageDisplayKit.framework/_CodeSignature/CodeResources
index 4ee37ab..80e6f10 100644
--- a/Example/MessageDisplayKitWeChatExample/MessageDisplayKitWeChatExample/Vendor/MessageDisplayKit/MessageDisplayKit.framework/_CodeSignature/CodeResources
+++ b/Example/MessageDisplayKitWeChatExample/MessageDisplayKitWeChatExample/Vendor/MessageDisplayKit/MessageDisplayKit.framework/_CodeSignature/CodeResources
@@ -298,7 +298,7 @@
Info.plist
- zBLCTvmx/Yd+4c9sd592an+PKjY=
+ KwohJviyPKKGG3lkZWgizBj0Xnc=
MessageVideoPlay@2x.png
diff --git a/MessageDisplayKit/Classes/Views/MessageContentViews/XHMessageBubbleView.m b/MessageDisplayKit/Classes/Views/MessageContentViews/XHMessageBubbleView.m
index 13683a6..d455fab 100644
--- a/MessageDisplayKit/Classes/Views/MessageContentViews/XHMessageBubbleView.m
+++ b/MessageDisplayKit/Classes/Views/MessageContentViews/XHMessageBubbleView.m
@@ -76,8 +76,8 @@ + (CGSize)neededSizeForText:(NSString *)text {
CGFloat dyWidth = [XHMessageBubbleView neededWidthForText:text];
- if ([[[UIDevice currentDevice] systemVersion] floatValue] == 9.0) {
- dyWidth += 1;
+ if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 9.0) {
+ dyWidth += 5;
}
CGSize textSize = [SETextView frameRectWithAttributtedString:[[XHMessageBubbleHelper sharedMessageBubbleHelper] bubbleAttributtedStringWithText:text]