Universal Links點(diǎn)擊鏈接,跳轉(zhuǎn)不到應(yīng)用程式內(nèi)。不知道哪裡配置錯(cuò)了
xocde中的配置,如下圖:
確定能從applinks後面的連結(jié)+apple-app-site-association,這個(gè)位址下載到Jason文件,
文件內(nèi)容如下:
appid為:Prefix.ID
Appdelegate中已實(shí)作以下方法:
參考文章:
http://strivingboy.github.io/blog/2015/09/27/ios9/
https://blog.branch.io/how-to-setup-universal-links-to-deep- link-on-apple-ios-9
閉關(guān)修行中......
App安裝完時(shí), 會(huì)先訪問 https://your-domain/.well-known/apple-ap... 並下載這個(gè)文件. 如果這個(gè)位置沒有這個(gè)文件應(yīng)當(dāng)返回404.
如果上面沒找到, 剛app會(huì)接著訪問https://your-domain/apple-app-site-assoc... 並下載.
以上兩個(gè)位置不能有redirect, 否則會(huì)導(dǎo)致失敗.