iOS:是否可以通过编程方式从iOS应用程序获取iTunes应用程序链接?
有没有办法从应用程序本身以编程方式获取自己的iTunes应用程序链接。我知道正在获取应用程序标识符,但不确定应用程序链接。如果是,那么我该怎么做?您可以使用:iOS:是否可以通过编程方式从iOS应用程序获取iTunes应用程序链接?,ios,objective-c,iphone,app-store-connect,itunes,Ios,Objective C,Iphone,App Store Connect,Itunes,有没有办法从应用程序本身以编程方式获取自己的iTunes应用程序链接。我知道正在获取应用程序标识符,但不确定应用程序链接。如果是,那么我该怎么做?您可以使用: https://itunes.apple.com/lookup?id=<appid> <appid> is id of app. Result of this is JSON with info about the app. https://itunes.apple.com/lookup?id= 是应用程序的i
https://itunes.apple.com/lookup?id=<appid>
<appid> is id of app. Result of this is JSON with info about the app.
https://itunes.apple.com/lookup?id=
是应用程序的id。结果是JSON包含了关于应用程序的信息。
使用以下方法:
https://itunes.apple.com/lookup?id=<appid>
https://itunes.apple.com/lookup?id=
这将返回JSON响应,其中包含应用程序详细信息,如支持的设备、应用程序描述、用户评级等
过滤JSON并获取trackViewUrl输入结果JSONAwesome!:)谢谢,伙计。我们可以通过编程方式获取此应用程序id吗?或者我们需要对其进行硬编码吗?您可以从iTunes Connect获取它,并将其硬编码到应用程序中。在Appstore的生命周期中,这个数字是恒定的。