短网址未在带有通用链接的应用中打开 [英] Short URL not opened in App with Universal Links

查看:103
本文介绍了短网址未在带有通用链接的应用中打开的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在我的iOS应用中设置了通用链接,并且可以使用完整的网址,例如: example.com/path/

I have set up Universal links in my iOS app, and it works with full URL like : example.com/path/

最近,我想要一个短网址,例如:t.cn/m,它映射到 example.com/path/ 。因此,我在功能中的关联域中添加了 appplinks:t.cn

Recently, I want short URL like: t.cn/m , which map to example.com/path/ , can be opened in my App directly. So I added appplinks:t.cn at association domain in Capabilities.

但这是行不通的。它无法在我的App中直接打开。它已使用safari打开,我必须单击safari中下拉横幅上的打开按钮才能在我的App中打开。

But it doesn't work. It can't be opened directly in my App.It's opened with safari and i have to click the "open" button on pull-down-banner in safari to open in my App.

似乎无法直接在我的App中打开短URL,可以吗?

It seems like short URL can't be opened directly in my App, can it?

推荐答案

尝试改用applink appplink的数量

try applink instead of appplinks

来自文档

这篇关于短网址未在带有通用链接的应用中打开的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆