Class

SKProductSubscriptionPeriod

An object containing the subscription period duration information.

Declaration

@interface SKProductSubscriptionPeriod : NSObject

Overview

A subscription period is a duration of time defined as some number of units, where a unit can be a SKProductPeriodUnitDay, SKProductPeriodUnitWeek, SKProductPeriodUnitMonth, or SKProductPeriodUnitYear.

For example, a subscription period of two weeks has a unit of a SKProductPeriodUnitWeek, and a numberOfUnits equal to 2.

Topics

Getting Subscription Period Details

numberOfUnits

The number of units per subscription period.

unit

The increment of time that a subscription period is specified in.

SKProductPeriodUnit

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

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.

SKProduct

Information about a product previously registered in App Store Connect.

SKProductsResponse

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

SKProductDiscount

The details of a discount offer for a subscription product.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software