iOS微信好友分享 只能唤起微信,但是无法选择目标用户分享
WXMediaMessage *message = [WXMediaMessage message];
message.title = @"分享标题";
message.description = @"分享描述";
[message setThumbImage:[UIImage imageNamed:@"wx"]];
WXWebpageObject *webpageObject = [WXWebpageObject object];
webpageObject.webpageUrl = @"https://open.weixin.qq.com";
message.mediaObject = webpageObject;
SendMessageToWXReq *req = [[SendMessageToWXReq alloc] init];
req.bText = NO;
req.message = message;
// 微信好友
req.scene = WXSceneSession;
[WXApi sendReq:req completion:^(BOOL success) {
NSLog(@"");
}];
老哥 请教下有解决方案吗