Class

SKRequest

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

Declaration

class SKRequest : NSObject

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

Delivering Content

Processing a Transaction

Register a transaction queue observer to get and handle transaction updates from the App Store.

class SKDownload

Downloadable content associated with a product.

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.