app跳转QQ,微信公共号

JumpToBizProfileReq *req = [JumpToBizProfileReq new];
    req.username = @""; // 原始ID
    req.profileType = WXBizProfileType_Normal;
    req.extMsg = @"";
    [WXApi sendReq:req];
//APP跳转到微信相关的其他网页(如微信小店相关商品信息界面)
OpenWebviewReq *req = [OpenWebviewReq new];
req.url = @"需要微信内置浏览器打开的网址";
[WXApi sendReq:req];

NSURL *url = [NSURL URLWithString:@"mqq://im/chat?chat_type=wpa&uin=QQNumber&version=1&src_type=web"];
    [[UIApplication sharedApplication] openURL:url];
//qq公共号
NSString *url = [NSString stringWithFormat:@"mqq://im/chat?chat_type=wpa&uin=%@&version=1&src_type=web",QQ];
            [[UIApplication sharedApplication] openURL:[NSURL URLWithString:url]]; 

你可能感兴趣的:(app跳转QQ,微信公共号)