大部分schemes 都必须在微信内部才能打开,除了
weixin:// wechat:// etc 直接打开微信
weixin://scanqrcode 打开微信扫一扫
NSURL * url = [NSURL URLWithString:@"wechat://etc"];
[[UIApplication sharedApplication] openURL:url];
支付宝跳过开启动画打开扫码和付款码的 url scheme 分别是
alipayqr://platformapi/startapp?saId=10000007 跳去支付宝扫一扫
alipayqr://platformapi/startapp?saId=20000056 跳去支付宝付款码
NSURL * url = [NSURL URLWithString:@"alipayqr://platformapi/startapp?saId=10000007"];
[[UIApplication sharedApplication] openURL:url];
网友评论