SKStoreProductViewControllerDelegate Protocol Reference

Conforms to
Framework
/System/Library/Frameworks/StoreKit.framework
Availability
Available in iOS 6.0 and later.
Companion guide
Declared in
SKStoreProductViewController.h

Overview

An object implementing the SKStoreProductViewControllerDelegate protocol is called when the user dismisses the store screen. Typically, this protocol is implemented by the view controller in your application that originally displayed the store screen.

Tasks

Responding to a Dismiss Action

Instance Methods

productViewControllerDidFinish:

Called when the user dismisses the store screen. (required)

- (void)productViewControllerDidFinish:(SKStoreProductViewController *)viewController
Parameters
viewController

The store view controller whose interface was dismissed by the user.

Discussion

Your delegate should call the dismissModalViewControllerAnimated: method on the view controller that originally presented the store screen. If your app paused any other activities before presenting the store, it can restart those services in this method.

Availability
  • Available in iOS 6.0 and later.
Declared In
SKStoreProductViewController.h