From 3a6a2d72aba940488f53dedbd3a3536dd2b931bf Mon Sep 17 00:00:00 2001 From: zhongwuzw Date: Thu, 18 Jan 2018 22:57:29 +0800 Subject: [PATCH] Fix message bubble tail orientation invalidation in iOS9 --- CHANGELOG.md | 5 +++++ Sources/Models/MessageStyle.swift | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f1552499..4663ae0b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,11 @@ The changelog for `MessageKit`. Also see the [releases](https://github.com/Messa ## Upcoming release +### Fixed + +- Fixed message bubble tail orientation invalidation in `iOS9`. +[#469](https://github.com/MessageKit/MessageKit/pull/469) by [@zhongwuzw](https://github.com/zhongwuzw). + ## [[Prerelease] 0.13.0](https://github.com/MessageKit/MessageKit/releases/tag/0.13.0) ### Fixed diff --git a/Sources/Models/MessageStyle.swift b/Sources/Models/MessageStyle.swift index 7ec4fd13..591e0ce8 100644 --- a/Sources/Models/MessageStyle.swift +++ b/Sources/Models/MessageStyle.swift @@ -89,7 +89,7 @@ public enum MessageStyle { image = UIImage(cgImage: cgImage, scale: image.scale, orientation: corner.imageOrientation) } - return stretch(image).withRenderingMode(.alwaysTemplate) + return stretch(image) } // MARK: - Private