OpenUserX03
OpenUserX03

Reputation: 1458

Embed App Store in my app

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"]];

How is Zoo Country embedding the App Store?

Upvotes: 1

Views: 514

Answers (1)

Wain
Wain

Reputation: 119031

You want to use the SKStoreProductViewController class. Docs here.

Upvotes: 6

Related Questions