Class

SKProduct

Information about a product previously registered in App Store Connect.

Declaration

@interface SKProduct : NSObject

Overview

SKProduct objects are returned as part of an SKProductsResponse object.

Topics

Getting the Product Identifier

productIdentifier

The string that identifies the product to the Apple App Store.

Getting Product Attributes

localizedDescription

A description of the product.

localizedTitle

The name of the product.

contentVersion

A string that identifies the version of the content.

contentLengths

The total size of the content, in bytes.

Deprecated

Getting Pricing Information

price

The cost of the product in the local currency.

priceLocale

The locale used to format the price of the product.

introductoryPrice

The object containing introductory price information for the product.

discounts

An array of discount offers available for the product.

Getting Subscription Information

subscriptionGroupIdentifier

The identifier of the subscription group to which the subscription belongs.

subscriptionPeriod

The period details for products that are subscriptions.

SKProductPeriodUnit

Values representing the duration of an interval, from a day up to a year.

Getting Downloadable Content Information

downloadable

A Boolean value that indicates whether the App Store has downloadable content for this product.

Deprecated
downloadContentLengths

The lengths of the downloadable files available for this product.

downloadContentVersion

A string that identifies which version of the content is available for download.

Instance Properties

Relationships

Inherits From

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.

SKProductsRequest

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

SKProductsResponse

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

SKProductSubscriptionPeriod

An object containing the subscription period duration information.

SKProductDiscount

The details of a discount offer for a subscription product.