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]]; 
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容