Skip to content
This repository has been archived by the owner on Apr 7, 2019. It is now read-only.
/ RXUMDemo Public archive

Object-C 友盟社会化组件SDK 分享、第三方平台授权 自封装展示页面 【srxboys】

Notifications You must be signed in to change notification settings

srxboys/RXUMDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RXUMDemo

###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;

srxboys srxboys_screenshot

###第二版 完全自定义分享到哪些平台

我只写了一部分,友盟有多少,就可以写多少

    #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=分享成功、失败等等信息
    }];

srxboys

如果你有想说的可以 issues I 。 :sweat_smile::sweat_smile::sweat_smile::sweat_smile::sweat_smile:

About

Object-C 友盟社会化组件SDK 分享、第三方平台授权 自封装展示页面 【srxboys】

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published