标签:
// 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