【问题标题】:how to get URL for iOS App store review page如何获取 iOS 应用商店评论页面的 URL
【发布时间】:2019-08-27 09:28:28
【问题描述】:

我需要为应用商店和 Google Play 商店创建应用评论页面的 URL 链接。我已经设法为 Google Play 做,但没有为应用商店做事。应用商店的链接是https://apps.apple.com/gb/app/emmas-diary/id594428605

Google Play 网址(可以使用)

https://play.google.com/store/apps/details?id=com.pgs.emmasdiary&hl=en_GB&showAllReviews=true

iOS 应用商店

??????

【问题讨论】:

    标签: ios app-store


    【解决方案1】:

    由于iOS 10.3 reviewing app 稍有改动,下面的代码spinet会清空一切

    func rateApp() {
        if #available(iOS 10.3, *) {
            SKStoreReviewController.requestReview()   // managed automatically by SKStoreReviewController
        } else if let url = URL(string: "itms-apps://itunes.apple.com/app/" + "yourAppID") {
            UIApplication.shared.open(url, options: [ : ], completionHandler: nil)  // managed manually through concatenating the URL
        }
    }
    

    对于参考。检查下面的图片(图片来源:谷歌图片。)

    希望回答你?

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-09-20
      • 1970-01-01
      • 1970-01-01
      • 2011-03-23
      • 1970-01-01
      • 2011-03-08
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多