gpt4 book ai didi

uiwebview - 如何在 uiwebview 中打开 itunes 链接

转载 作者:行者123 更新时间:2023-12-01 21:40:31 28 4
gpt4 key购买 nike

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

问候
潘卡杰

最佳答案

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

如果您想让用户留在您的应用中,请使用 SKStoreProductViewController 打开商店以访问特定的内容。用户关闭工作表后,他们仍然在您的应用中。

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

关于uiwebview - 如何在 uiwebview 中打开 itunes 链接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14535167/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com