zoukankan      html  css  js  c++  java
  • 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

      

  • 相关阅读:
    ci
    RN开发杂记
    ‘100%’wuxiao
    Statezhong shiyong redux props
    assemble、compile、make、build和rebuild的关系
    promise
    React Native 通过navigation实现页面间传值
    react native redux
    js中 === 整形和字符串比较
    React Native 中使用Redux
  • 原文地址:https://www.cnblogs.com/lizhao123/p/11375515.html
Copyright © 2011-2022 走看看