Created
November 25, 2015 03:18
-
-
Save smartweb/7fbec0208cd1c18cb367 to your computer and use it in GitHub Desktop.
友盟ShareSDK第三方登录
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UMSocialSnsPlatform *snsPlatform = [UMSocialSnsPlatformManager getSocialPlatformWithName:platformName]; | |
snsPlatform.loginClickHandler(self, | |
[UMSocialControllerService defaultControllerService], | |
YES, | |
^(UMSocialResponseEntity *response){ | |
//code | |
}); |
typedef void (^UMSocialSnsPlatformLoginHandler)(UIViewController *presentingController, UMSocialControllerService * socialControllerService, BOOL isPresentInController, UMSocialDataServiceCompletion completion);
// Handler的定义
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
试一下这个: