QQ 臨時對話 QQ 申請加入群 備註:QQ群的Key生成地址:https://qun.qq.com/join.html ...
QQ 臨時對話
NSString *qq = [NSString stringWithFormat:@"mqq://im/chat?chat_type=wpa&uin=%@&&version=1&src_type=web",@"這是是QQ號碼"]; NSURL *urlQQ = [NSURL URLWithString:qq]; [[UIApplication sharedApplication] openURL:urlQQ];
QQ 申請加入群
///QQ群 NSString *urlStr = [NSString stringWithFormat:@"mqqapi://card/show_pslcard?src_type=internal&version=1&uin=%@&key=%@&card_type=group&source=external", @"這是是群號",@"這裡是由群號在騰訊生成的Key"]; NSURL *url = [NSURL URLWithString:urlStr]; [[UIApplication sharedApplication] openURL:url];
備註:QQ群的Key生成地址:https://qun.qq.com/join.html