使用Amazon App而非Safari打开Amazon链接-IOS Swift 3 [英] Open Amazon link with Amazon App not Safari - IOS Swift 3

查看:425
本文介绍了使用Amazon App而非Safari打开Amazon链接-IOS Swift 3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发的应用程序中有一个Amazon会员链接(指向产品)(Swift 3)。

I have an Amazon affiliate link (to a product) in the app I am developing (Swift 3).

是否有可能让用户打开与Amazon App的链接,或者让用户选择使用Safari或Amazon App打开(如果他没有),亚马逊应用程序?

Is there a possibility to let the user open the link with the Amazon App or let the user choose to open with Safari or Amazon App in case he doesn't have the Amazon App?

此刻,链接始终通过Safari打开

At this moment the link is always opened with Safari

谢谢!

推荐答案

您可以尝试以下操作:

com.amazon.mobile.shopping://www.amazon.com/gp/product/product-id

com.amazon.mobile.shopping.web://www.amazon.com/gp/product/product-id

如果这不起作用,请在网上搜索 Amazon应用网址方案-您可能会发现一些最新的内容。

If that doesn't work, search the web for Amazon app url scheme - you might find something more current.

这篇关于使用Amazon App而非Safari打开Amazon链接-IOS Swift 3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆