Framework

StoreKit

Support in-app purchases and interactions with the App Store.

Overview

Using StoreKit in your app, you can provide the following features and services:

  • In-App Purchase. Offer and promote in-app purchases for content and services.

  • Apple Music. Check a user's Apple Music capabilities and offer a subscription.

  • Recommendations and reviews. Provide recommendations for third-party content and enable users to rate and review your app.

Topics

In-App Purchase

In-App Purchase

Offer users additional content and services using in-app purchases within your app.

Apple Music

Apple Music

Offer users the option to sign up for an Apple Music subscription and provide access to the Apple Music library.

Recommendations and Reviews

Recommendations and Reviews

Offer users the option to buy other apps, music, and video media, and to rate and review apps.

Errors

Handling Errors

Handle errors resulting from StoreKit requests.

struct SKError

StoreKit error descriptions, codes, and domain.

Classes

class SKProductStorePromotionController

A product promotion controller for customizing the order and visibility of in-app purchase products per device.

Beta

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