在我的应用中嵌入App Store

时间:2022-04-24 20:12:26

I see games in the App Store that allow you to download other games. Rather than app switching to the App Store to download the other game, it brings up an embedded App Store within the app itself.

我在App Store中看到允许您下载其他游戏的游戏。它不是应用程序切换到App Store下载其他游戏,而是在应用程序本身内部启动嵌入式App Store。

Zoo Country is an example of an app that does this.

Zoo Country是执行此操作的应用程序的示例。

The only way I know of to bring someone to the app store to download another app is to do something like this, but this switches apps:

我知道将某人带到应用程序商店下载另一个应用程序的唯一方法是做这样的事情,但这会切换应用程序:

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"itms://itunes.com/apps/appname"]];

How is Zoo Country embedding the App Store?

Zoo Country如何嵌入App Store?

1 个解决方案

#1


6  

You want to use the SKStoreProductViewController class. Docs here.

您想使用SKStoreProductViewController类。文件在这里。

#1


6  

You want to use the SKStoreProductViewController class. Docs here.

您想使用SKStoreProductViewController类。文件在这里。