大神们跳转到非QQ好友发送消息一直失败
跳转代码
NSString *qqStr=[NSString stringWithFormat:@"mqq://im/chat?chat_type=wpa&uin=%@&version=1&src_type=web",@"564654144"];
NSURL *url = [NSURL URLWithString:qqStr];
[[UIApplication sharedApplication] openURL:url];

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
首先公众号是不能聊天的,另外,非好友聊天的话,用来接收临时消息的QQ号需开通 QQ推广功能 ,不然陌生人向他发送临时消息,直接失败。开通方式:打开QQ推广网址 http://shang.qq.com 并用QQ登录