WXLocationObject调不起微信,代码如下
WXLocationObject *ext = [WXLocationObject object];
ext.lat = 22.8162750;
ext.lng = 113.819904;
WXMediaMessage *wxMediaMessage = [WXMediaMessage message];
wxMediaMessage.title = @"123";
wxMediaMessage.description = @"123";
[wxMediaMessage setThumbImage:[UIImage imageNamed:@"logo.png"]];
wxMediaMessage.mediaObject = ext;
sendReq.bText = NO;
sendReq.scene = WXSceneSession;
sendReq.message = wxMediaMessage;
[WXApi sendReq:sendReq completion:completion];