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


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.


In-App Purchase

In-App Purchase

Offer users additional content and services through purchases they make 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.


Handling Errors

Handle errors resulting from StoreKit requests.

struct SKError

StoreKit error descriptions, codes, and domain.


StoreKit Constants

This document describes the constants defined in the StoreKit framework and not described in a document for an individual class.

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