iOS10 之后:
NSString *qq=[NSString stringWithFormat:@"mqq://im/chat?chat_type=wpa&uin=%@&version=1&src_type=web",@"QQ號"];
NSURL *url = [NSURL URLWithString:qq];
[[UIApplication sharedApplication] openURL:url options:nil completionHandler:nil];
但是被聊天的QQ號必須開通QQ推廣這樣 陌生人之間才能聊天,否則只能加好友了