如何在iPhone应用程序中链接到App Store中的其他应用程序?

时间:2022-02-10 07:10:25

I used this technique, but it appears to not work anymore in 3.0. In the simulator at least, my app opens Safari, and then there is a visible redirect, but then I get a message that there has been too many redirects. Any fix?

我使用了这种技术,但它似乎在3.0中不再起作用了。至少在模拟器中,我的应用程序打开Safari,然后有一个可见的重定向,但后来我收到一条消息,说有太多的重定向。任何修复?

2 个解决方案

#1


Have you tried this on the device? There is no App Store application on the Simulator, so any attempts to redirect to it will fail.

你在设备上试过这个吗?模拟器上没有App Store应用程序,因此任何重定向到它的尝试都将失败。

Within my application, the itunes.apple.com links for the App Store work just fine under 3.0 on the actual devices.

在我的应用程序中,App Store的itunes.apple.com链接在实际设备上工作得很好。

#2


I can't test this right now, but have you tried changing the 'http:' protocol in the link to 'itms:' instead?

我现在无法测试,但您是否尝试将链接中的'http:'协议更改为'itms:'?

#1


Have you tried this on the device? There is no App Store application on the Simulator, so any attempts to redirect to it will fail.

你在设备上试过这个吗?模拟器上没有App Store应用程序,因此任何重定向到它的尝试都将失败。

Within my application, the itunes.apple.com links for the App Store work just fine under 3.0 on the actual devices.

在我的应用程序中,App Store的itunes.apple.com链接在实际设备上工作得很好。

#2


I can't test this right now, but have you tried changing the 'http:' protocol in the link to 'itms:' instead?

我现在无法测试,但您是否尝试将链接中的'http:'协议更改为'itms:'?