From 3e8437ae559487362fae3525beb79c534c213a51 Mon Sep 17 00:00:00 2001
From: 单军华
Date: Thu, 12 Jul 2018 13:44:34 +0800
Subject: [PATCH] bug修复和功能优化
---
screendisplay/Pods/HMEmoticon/表情键盘/Emoticon/UIImage+HMEmoticon.m | 28 ++++++++++++++++++++++++++++
1 files changed, 28 insertions(+), 0 deletions(-)
diff --git "a/screendisplay/Pods/HMEmoticon/\350\241\250\346\203\205\351\224\256\347\233\230/Emoticon/UIImage+HMEmoticon.m" "b/screendisplay/Pods/HMEmoticon/\350\241\250\346\203\205\351\224\256\347\233\230/Emoticon/UIImage+HMEmoticon.m"
new file mode 100755
index 0000000..b30a401
--- /dev/null
+++ "b/screendisplay/Pods/HMEmoticon/\350\241\250\346\203\205\351\224\256\347\233\230/Emoticon/UIImage+HMEmoticon.m"
@@ -0,0 +1,28 @@
+//
+// UIImage+HMEmoticon.m
+// ������������
+//
+// Created by ������ on 16/3/3.
+// Copyright �� 2016��� itcast. All rights reserved.
+//
+
+#import "UIImage+HMEmoticon.h"
+#import "NSBundle+HMEmoticon.h"
+
+@implementation UIImage (HMEmoticon)
+
++ (UIImage *)hm_imageNamed:(NSString *)name {
+ return [UIImage imageNamed:name
+ inBundle:[NSBundle hm_emoticonBundle]
+ compatibleWithTraitCollection:nil];
+}
+
+- (UIImage *)hm_resizableImage {
+ return [self resizableImageWithCapInsets:
+ UIEdgeInsetsMake(self.size.height * 0.5,
+ self.size.width * 0.5,
+ self.size.height * 0.5,
+ self.size.width * 0.5)];
+}
+
+@end
--
Gitblit v1.8.0