iOS 通用链接
2020-12-19 本文已影响0人
AFreedom
1.使用环境
iOS 9 以上
2.开发者中心配置

3.创建文件(必须命名为apple-app-site-association,没有后缀),传个后台添加到公司域名根目录或者.well-know下,内容如下:
{
"applinks": {
"apps": [],
"details": [
{
"appID": "Team ID.Bundle ID",
"paths": [ "/域名之后的路径/*"]
}
]
}
}
4.app中

其中Domains必须以applinks开头,后面跟域名
5.测试
在备忘录输入域名+path(在apple-app-site-association配置的)生成路径,长按会显示使用你的app打开
