- (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圖片,只支持微信
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.