欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

XZ_iOS 之各大银行scheme

程序员文章站 2024-02-18 08:57:40
...

因为项目需要调起各大银行的APP,进行充值,所以,查找了各大银行的scheme,如下:

{
            "bank":"工商银行",
            "scheme":"com.icbc.iphoneclient"
        },
        {
            "bank":"农业银行",
            "scheme":"bankabc"
        },
        {
            "bank":"中国银行",
            "lianjie":"bocmbcizf"
        },
        {
            "bank":"建设银行",
            "scheme":"ccbmobilebank"
        },
        {
            "bank":"交通银行",
            "scheme":"wx862767be0919d45a"
        },
        {
            "bank":"民生银行",
            "scheme":"com.cmbc.cn.iphone"
        },
        {
            "bank":"中信银行",
            "scheme":"citic"
        },
        {
            "bank":"浦发银行",
            "scheme":"wx1cb534bb13ba3dbd"
        },
        {
            "bank":"兴业银行",
            "scheme":"cibmb"
        },
        {
            "bank":"招商银行",
            "scheme":"cmbmobilebank"
        },
        {
            "bank":"广发银行",
            "scheme":"wb801126555"
        },
        {
            "bank":"光大银行",
            "scheme":"wxf505f9da589b9506"
        },
        {
            "bank":"华夏银行",
            "scheme":"com.hx.hxbank"
        },
        {
            "bank":"渤海银行",
            "scheme":"wxcc0b1c78c5bebdb5"
        },
        {
            "bank":"天津银行",
            "scheme":"wx1683cc7279171014"
        },
        {
            "bank":"恒丰银行",
            "scheme":"egbank"
        },
        {
            "bank":"浙商银行",
            "scheme":"wx105bde8d0d9f2372"
        },
        {
            "bank":"平安银行",
            "scheme":"paebqw"
        },
        {
            "bank":"江苏银行",
            "scheme":"jsbsjyh"
        },
        {
            "bank":"北京银行",
            "scheme":"wxb57101c34cb7773e"
        },
        {
            "bank":"上海银行",
            "scheme":"bankofshanghai"
        },
        {
            "bank":"河北银行",
            "scheme":"hebbank"
        },
        {
            "bank":"青岛银行",
            "scheme":"wxe63b95c397856088"
        },
        {
            "bank":"齐鲁银行",
            "scheme":"wx66b04eb340cefc57"
        },
        {
            "bank":"日照银行",
            "scheme":"sccba810"
        },
        {
            "bank":"莱商银行",
            "scheme":"sccba803"
        },
        {
            "bank":"潍坊银行",
            "scheme":"wx4df61036a188951c"
        },
        {
            "bank":"济宁银行",
            "scheme":"wx46071b807d2f473c"
        },
        {
            "bank":"东营银行",
            "scheme":"wb4216759672"
        },
        {
            "bank":"烟台银行",
            "scheme":"sccba816"
        },
        {
            "bank":"威海银行",
            "scheme":"wx14cd9621b76ffa2f"
        },
        {
            "bank":"枣庄银行",
            "scheme":"sccba808"
        },
        {
            "bank":"泰安银行",
            "scheme":"wb3819898473"
        },
        {
            "bank":"邮政储蓄银行",
            "scheme":"psbcmbank"
        },
        {
            "bank":"杭州银行",
            "scheme":"com.hzbank.hzbank.per"
        }

调起代码:

NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"%@://app/",model.scheme]];
                
BOOL canOpen = [[UIApplication sharedApplication] openURL:url];
// 调起app
if (canOpen) {
   NSLog(@"可以调起");
}else {
   NSLog(@"未安装手机银行");
}