Short URL not opened in App with Universal Links

旧城冷巷雨未停 提交于 2019-12-25 09:14:53

问题


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

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.

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.

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


回答1:


try applink instead of appplinks

from documentation



来源:https://stackoverflow.com/questions/39136150/short-url-not-opened-in-app-with-universal-links

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!