【文件属性】:
文件名称:CYShare:客户端分享(新浪微博分享,QQ分享,QQ空间分享,微信好友分享,微信朋友圈分享与登录)
文件大小:10.08MB
文件格式:ZIP
更新时间:2021-06-08 11:30:46
Objective-C
第一步:
在AppDelegate.m中:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// 分享配置
[self setShared];
return YES;
}
- (void)setShared
{
ALIAS( [SinaWeibo sharedInstance], singan );
ALIAS( [WXChatShared sharedInstance], wxchat );
ALIAS( [TencentOpenShared sharedInstance], tencent );
// 新浪微博分享
singan.appKey = @"2716041576";
[singan
【文件预览】:
CYShare-master
----shareIntegrate()
--------parent()
--------tencentopen()
--------weixin()
--------sinaweibo()
----README.md(2KB)
----.gitignore(218B)
----CYShared()
--------CYSharedTests()
--------shareIntegrate()
--------CYShared.xcodeproj()
--------CYShared()