Class

SKStoreProductViewController

A view controller that provides a page where the user can purchase media from the App Store.

Declaration

@interface SKStoreProductViewController : UIViewController

Overview

To display a store for users to purchase media from the App Store, create an SKStoreProductViewController object and set its delegate. Then, present the view controller modally from another view controller in your app. Your delegate dismisses the view controller when the user completes the purchase.

To indicate a specific product to sell, pass its iTunes item identifier to the loadProductWithParameters:completionBlock: method.

Topics

Setting a Delegate

delegate

The store view controller’s delegate.

SKStoreProductViewControllerDelegate

A protocol called when the user dismisses the store screen.

Loading a New Product Screen

Offering Media for Sale in Your App

Allow users to purchase media in the App Store from within your app.

- loadProductWithParameters:completionBlock:

Loads a new product screen to display.

Product Dictionary Keys

Keys for identifying products and the tokens for affiliates and campaigns.

Relationships

Inherits From

See Also

Affiliate Recommendations

Offering Media for Sale in Your App

Allow users to purchase media in the App Store from within your app.

SKAdNetwork

A class that validates advertiser-driven app installations.