我ios9友盟分享,下面按钮出不来
我de名字 2015-09-18 11:37:24 我ios9友盟分享,下面按钮出不来,但是ios8极其以下可以出来,这是什么原因,有些人说要什么链接改下?
- (void)shareMethod
{
UIImageView * imgview=[[UIImageView alloc]initWithFrame:CGRectMake(0, 64, DEVICE_WIDTH, DEVICE_HEIGHT-64)];
imgview.image=[UIImage imageNamed:@"IWMessageIconha.png"];
NSString *shareText = [self.shareDic objectForKey:@"content"];
//设置微信AppId,设置分享url,默认使用友盟的网址
[UMSocialWechatHandler setWXAppId:WECHAT_APPID
appSecret:WECHAT_SECRET url:[NSString stringWithFormat:@"%@", self.html_url]];
[UMSocialQQHandler setQQWithAppId:QQ_APPID appKey:QQ_KEY url:[NSString stringWithFormat:@"%@", self.html_url]];
NSLog(@"HTML %@", self.html_url);
[UMSocialData defaultData].extConfig.wechatSessionData.title = self.shareDic [@"text"];
[UMSocialData defaultData].extConfig.qqData.title = self.shareDic [@"text"];
[UMSocialData defaultData].extConfig.qzoneData.title = self.shareDic [@"text"];
[UMSocialSnsService presentSnsIconSheetView:self
appKey:UMENG_APPKEY
shareText:shareText
shareImage:self.shareDic [@"img"]
shareToSnsNames:[NSArray arrayWithObjects:UMShareToWechatSession,UMShareToWechatTimeline,UMShareToQQ,UMShareToQzone,nil]
delegate:self];
}