iOS设置友盟分享内容和标题

2016-05-12  本文已影响1510人  Charse

[[UMSocialData defaultData].urlResource setResourceType:UMSocialUrlResourceTypeImage url:self.article_imageUrl];//自定义分享图片

//    以下是各分享目标的标题设置

[UMSocialData defaultData].extConfig.qqData.title =self.article_title;

[UMSocialData defaultData].extConfig.qzoneData.title =self.article_title;

[UMSocialData defaultData].extConfig.wechatFavoriteData.title =self.article_title;

[UMSocialData defaultData].extConfig.wechatTimelineData.title =self.article_title;

[UMSocialData defaultData].extConfig.wechatSessionData.title =self.article_title;

[UMSocialData defaultData].extConfig.wechatSessionData.title =self.article_title;

[UMSocialSnsService presentSnsIconSheetView:self

appKey:@"********"

shareText:self.article_content

shareImage:nil

shareToSnsNames:@[UMShareToQQ,UMShareToQzone,UMShareToWechatSession,UMShareToWechatTimeline]

delegate:self];

上一篇 下一篇

猜你喜欢

热点阅读