码迷,mamicode.com
首页 > 其他好文 > 详细

友盟分享

时间:2015-05-07 15:58:41      阅读:105      评论:0      收藏:0      [点我收藏+]

标签:

//    AppDelegate *appDelegate = (AppDelegate *)[UIApplication sharedApplication].delegate;
//    NSArray *snsNames = [NSArray arrayWithObjects:
//                         UMShareToSina,
//                         UMShareToTencent,
//                         UMShareToSms,
//                         UMShareToWechatSession,
//                         UMShareToWechatTimeline,
//                         UMShareToQzone,
//                         UMShareToDouban,
//                         UMShareToRenren,
//                         nil];
//    
//    //    NSString *appKey = [ZJTFactory getAppIDFromInfoPlistIsSina:NO];
//    
//    [UMSocialSnsService presentSnsIconSheetView:appDelegate.leveyTabBarController
//                                         appKey:@"5211818556240bc9ee01db2f"
//                                      shareText:@""
//                                     shareImage:[UIImage imageNamed:@"57.png"]
//                                shareToSnsNames:snsNames
//                                       delegate:self];
//    NSString *str = [contentDict objectForKey:@"content_title"];
//    NSString *content_id = [contentDict objectForKey:@"content_id"];
//    NSString *url = [NSString stringWithFormat:@"http://u.ydsw.cn/3gbuilder_Wap_new/getContentById?content_id=%@",content_id];
//    NSString *linkStr = [NSString stringWithFormat:@"%@%@",str,url];
//    [UMSocialData defaultData].shareText = linkStr;
//    [UMSocialControllerService defaultControllerService].socialData.extConfig.wxMessageType = UMSocialWXMessageTypeText;

 

友盟分享

标签:

原文地址:http://www.cnblogs.com/keyan1102/p/4484947.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!