嵌入应用程序商店在我的应用程序 [英] Embed App Store in my app
问题描述
我看到游戏在App Store,让您下载其他游戏。而不是应用程序切换到App Store下载其他的游戏,它的应用程序本身带来了一个嵌入式应用程序商店。
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.
动物园地区是一个应用程序,做到这一点的一个例子。
Zoo Country is an example of an app that does this.
我所知道的把别人的应用程序商店下载其他应用程序的唯一方法就是做这样的事情,但是这个切换应用程序:
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"]];
动物园国
如何嵌入在App Store?
How is Zoo Country embedding the App Store?
推荐答案
您想要使用的 SKStoreProductViewController
类。文件<一个href=\"http://developer.apple.com/library/ios/#documentation/StoreKit/Reference/SKITunesProductViewController_Ref/Introduction/Introduction.html\">here.
You want to use the SKStoreProductViewController
class. Docs here.
这篇关于嵌入应用程序商店在我的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!