//创建分享消息对象
UMSocialMessageObject *messageObject = [UMSocialMessageObject messageObject];
NSString *urlKey = [[SDWebImageManager sharedManager] cacheKeyForURL:[NSURL URLWithString:self.headerModel.image]];
UIImage *image = [[SDImageCache sharedImageCache] imageFromDiskCacheForKey:urlKey];
//获取不到可以显示默认的
if (!image) {
image = [UIImage imageNamed:@"AppIcon"];
}
NSString *
解决iOS使用友盟微博分享没有图片
最新推荐文章于 2021-07-24 13:28:51 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)