Class

SKRequest

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

Overview

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

Topics

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.

Relationships

Inherits From

Conforms To

See Also

Restoring Purchased Products

class SKReceiptRefreshRequest

A request to refresh the receipt, which represents the user's transactions with your app.

class SKPaymentTransaction

An object in the payment queue.

func SKTerminateForInvalidReceipt()

Terminates an app if the license to use the app has expired.