###iOS object-C 社会化组件SDK v6.0.0(2016-9-23)
// 分享
[_shareView showShareWithViewController:self type:ShareTypeSku
title:@"欧哥斯家用制氧机" content:@"好消息" resourceId:@"9113767"
image:imageURL completion:^(NSString *result) {
// code
}
// 授权登录 `LoginType`=(LoginTypeWX, LoginTypeSina)
[_shareView showLoginWithViewController:self loginType:`LoginType`
completion:^(UMSocialUserInfoResponse *snsAccount, NSString *errorString) {
// code
}
/** 给截屏图片添加图片水印 */
- (UIImage *) imageWithWatermarkImage:(UIImage *)image;
/** 给截屏图片添加文字水印 */
- (UIImage *) imageWithTextImage:(NSString *)text;
###第二版 完全自定义分享到哪些平台
#import "RXUMShare.h"
//viewDidLoad里
_share = [[RXUMShare alloc] init];
[self.view addSubview:_share];
//分享按钮点击 操作
//platforms:@[这里可以根据每个页面需求,你想要分享的多个平台]
[_share shareInController:self platforms:@[UMSPlatformNameQQ,
UMSPlatformNameQzone, UMSPlatformNameWechatSession,
UMSPlatformNameTencentWb, UMSPlatformNameSina] title:@"标题"
contents:@"分享内容" imageURLString:@"图片url"
completion:^(NSString *result) {
//result=分享成功、失败等等信息
}];
如果你有想说的可以 issues I 。 :sweat_smile::sweat_smile::sweat_smile::sweat_smile::sweat_smile: