- (void)shareEmoticonToPlatformType:(UMSocialPlatformType)platformType{ UMSocialMessageObject *messageObject = [UMSocialMessageObject messageObject]; NSString* thumbURL = UMS_THUMB_IMAGE; UMShareEmotionObject *shareObject = [UMShareEmotionObject shareObjectWithTitle:UMS_Title descr:UMS_Text thumImage:thumbURL]; NSString *filePath = [[NSBundle mainBundle] pathForResource:@"res6" ofType:@"gif"]; NSData *emoticonData = [NSData dataWithContentsOfFile:filePath]; shareObject.emotionData = emoticonData; messageObject.shareObject = shareObject;
友盟分享gif图片,只支持微信
最新推荐文章于 2021-05-27 13:04:16 发布