博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
友盟分享在appdelegate中的调用语句举例
阅读量:6970 次
发布时间:2019-06-27

本文共 797 字,大约阅读时间需要 2 分钟。

//友盟

    [UMSocialData setAppKey:UmengAppkey];

    [UMSocialConfig setSupportedInterfaceOrientations:UIInterfaceOrientationMaskPortrait];

 

    //wechat

    [UMSocialWechatHandler setWXAppId:WeChatAPPId appSecret:WeChatSecretKey url:WeChatRedirectURL];

    

    //qq

    [UMSocialQQHandler setQQWithAppId:QQAppId appKey:QQAppKey url:QQRedirectURL];

 

在pch文件中如下定义

//umeng

#define UmengAppkey @"55652d8567e58ea67***3d11"

 

//wechat

#define WeChatAPPId @"wx78fd9db6e535b***"

#define WeChatSecretKey @"927*afd064a653c53344c601a461cf22"

#define WeChatRedirectURL @""

 

//weibo

#define WeiboAppKey @"1587215***"

#define WeiboSecretKey @"32ce36858**94459b46fb3173063ec52"

#define WeiboRedirectURI @"https://api.weibo.com/oauth2/default.html"

 

//QQ

#define QQAppId @"11323189***"

#define QQAppKey @"Fef2Q91y*3jiijERS"

#define QQRedirectURL @""

转载地址:http://ctfsl.baihongyu.com/

你可能感兴趣的文章
我的友情链接
查看>>
从“赢”字诠释解读成功的必备要素(一)
查看>>
面试心得
查看>>
我的友情链接
查看>>
我的友情链接
查看>>
2018-08-16期 HBase全分布模式集群及HMaster HA安装部署
查看>>
docker中的容器互联-linking系统
查看>>
Linux学习之CentOS(二十一)--Linux系统启动详解
查看>>
escape()、encodeURI()、encodeURIComponent()区别详解
查看>>
AgileEAS.NET5.0-界面设计器-使用说明书(上)
查看>>
g80 architecture overview
查看>>
gradle替代maven
查看>>
Linux命令之diff
查看>>
linux 实时调度策略 修改及测试
查看>>
不登录远程查看ssh版本
查看>>
Linux操作系统安全必要保护措施实例
查看>>
GraalVM
查看>>
zcat配合tar解压压缩包中的单独
查看>>
只为完美强大的Linux——视频通讯功能(附完整代码)
查看>>
80个Python经典资料(教程+源码+工具)汇总——下载目录 ...
查看>>