Class

SKProductsRequest

An object that can retrieve localized information from the App Store about a specified list of products.

Declaration

class SKProductsRequest : SKRequest

Overview

Your app uses an SKProductsRequest object to present localized prices and other information to the user without having to maintain that list of product information itself.

To use an SKProductsRequest object, you initialize it with a list of product identifier strings, attach a delegate, and then call the request’s start() method. When the request completes, your delegate receives an SKProductsResponse object.

Topics

Initializing a Products Request

init(productIdentifiers: Set<String>)

Initializes the request with the set of product identifiers.

Setting the Delegate

var delegate: SKProductsRequestDelegate?

The delegate that receives the response of the products request.

protocol SKProductsRequestDelegate

A set of methods that are implemented by the delegate to receive requested product information.

Relationships

Inherits From

Conforms To

See Also

Retrieving Product Information

Loading In-App Product Identifiers

Load the unique identifiers for your in-app products in order to retrieve product information from the App Store.

Fetching Product Information from the App Store

Retrieve up-to-date information about the products for sale in your app to display to the user.

class SKProduct

Information about a product previously registered in App Store Connect.

class SKProductsResponse

An App Store response to a request for information about a list of products.

class SKProductSubscriptionPeriod

An object containing the subscription period duration information.

class SKProductDiscount

The details of a discount offer for a subscription product.