Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
wechat sdk允许我们向微信联系人发送短信。
但是我们如何选择发送给哪个联系人呢?
与微信联系人分享:
SendMessageToWXReq* req = [[[SendMessageToWXReq alloc] init]autorelease]; req.text = @"Your Text Message."; req.bText = YES; req.scene = WXSceneSession; [WXApi sendReq:req];
您无需从移动应用程序中选择发件人联系人。
代码行后[WXApi sendReq:req];,微信将打开并显示用户选择要发送消息的联系人。
[WXApi sendReq:req];
AFAIK 无法从移动应用程序中选择发件人联系人。