An abstract class that represents a request to the App Store.


class SKRequest : NSObject


To make a request, initialize a subclass of SKRequest—such as SKProductsRequest or SKReceiptRefreshRequest—set the delegate property, and call the start() method.


Controlling the Request

func start()

Sends the request to the Apple App Store.

func cancel()

Cancels a previously started request.

Accessing the Delegate

var delegate: SKRequestDelegate?

The delegate of the request object.

protocol SKRequestDelegate

Common methods that are implemented by delegates for any subclass of the SKRequest abstract class.


Inherits From

Conforms To

See Also


Setting Up the Transaction Observer for the Payment Queue

Enable your app to receive and handle transactions by adding an observer.

Offering, Completing, and Restoring In-App Purchases

Fetch, complete, and restore transactions in your app.

class SKPaymentQueue

A queue of payment transactions to be processed by the App Store.

protocol SKPaymentTransactionObserver

A set of methods that process transactions, unlock purchased functionality, and continue promoted in-app purchases.

protocol SKPaymentQueueDelegate

The protocol implemented to provide information needed to complete transactions.