【问题标题】:how to open a itunes link in uiwebview如何在 uiwebview 中打开 iTunes 链接
【发布时间】:2013-01-26 08:23:05
【问题描述】:

是否可以在 uiwebview 中加载应用商店链接。我试图在 uiwebview 中打开它,但它没有加载在那里。我不希望用户在单击我的应用程序中的 url 时离开我的应用程序。有可能吗?

问候
潘卡伊

【问题讨论】:

    标签: uiwebview itunes


    【解决方案1】:

    iTunes 内容在移动设备上没有“iTunes 预览”页面 - iOS 会自动识别 itunes.apple.com 链接并打开商店。

    如果您想将用户留在您的应用程序中,请使用 SKStoreProductViewController 将商店打开到特定的内容。用户关闭工作表后,他们仍在您的应用中。

    http://developer.apple.com/library/ios/#documentation/StoreKit/Reference/SKITunesProductViewController_Ref/Introduction/Introduction.html

    【讨论】:

      猜你喜欢
      • 2012-01-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多