Universal Links點(diǎn)擊鏈接,跳轉(zhuǎn)不到應(yīng)用內(nèi)。不知道哪里配置錯(cuò)了
xocde中的配置,如下圖:
確定能從applinks后面的鏈接 apple-app-site-association,這個(gè)地址下載到Jason文件,
文件內(nèi)容如下:
appid為:Prefix.ID
Appdelegate中已實(shí)現(xiàn)以下方法:
參考文章:
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)致失敗.