问题描述
- EMChatImage 怎么转成UIImage?
- 最近在做即时通讯,发送图片消息要显示在imageview上遇到如上问题,请大神们指教
解决方案
self.imgView.image =[UIImage imageWithContentsOfFile:((EMImageMessageBody *)messageBody).thumbnailLocalPath];
时间: 2024-09-14 05:48:41
self.imgView.image =[UIImage imageWithContentsOfFile:((EMImageMessageBody *)messageBody).thumbnailLocalPath];