IOS 如何獲取app更新鏈接 如【itms-apps://itunes.apple.com/cn/app/id1362432761?mt=8】


這是 iTunes 接口地址 ,有興趣可以看一下,我們要用到的接口如下,xxx 處換成自己 App 的 AppId ,AppId 可以在 iTunes Connect 里面看到。

http://itunes.apple.com/lookup?id=xxx

接口返回的內容有很多,我就挑一些有用的截出來了。

{
    "resultCount" : 1,
    "results" : [{
        "artistId" : "開發者 ID",
        "artistName" : "開發者名稱",
        "trackCensoredName" : "審查名稱",
        "trackContentRating" : "評級",
        "trackId" : "應用程序 ID",
        "trackName" = "應用程序名稱",
        "trackViewUrl" = "應用程序下載網址",
        "userRatingCount" = "用戶評論數量",
        "userRatingCountForCurrentVersion" = "當前版本的用戶評論數量",
        "version" = "版本號"
    }]
}
https://itunes.apple.com/cn/app/jie-zou-da-shi/id493901993?mt=8

然后將 http:// 替換為 itms:// 或者 itms-apps://

替換后的鏈接地址。

itms-apps://itunes.apple.com/cn/app/jie-zou-da-shi/id493901993?mt=8

 

  


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM