Store Kit Constants Reference
| Framework | StoreKit/SKError.h |
| Companion guide | |
| Declared in | SKError.h |
Overview
This document describes the constants defined in the Store Kit framework and not described in a document for an individual class.
Constants
SKErrorDomain
This constant defines the Store Kit framework error domain.
NSString * const SKErrorDomain;
Constants
SKErrorDomainIndicates an error occurred in Store Kit.
Available in iOS 3.0 and later.
Declared in
SKError.h.
Store Kit Errors
Error codes for the Store Kit error domain.
enum {
SKErrorUnknown,
SKErrorClientInvalid,
SKErrorPaymentCancelled,
SKErrorPaymentInvalid,
SKErrorPaymentNotAllowed,
SKErrorStoreProductNotAvailable
};
Constants
SKErrorUnknownIndicates that an unknown or unexpected error occurred.
Available in iOS 3.0 and later.
Declared in
SKError.h.SKErrorClientInvalidIndicates that the client is not allowed to perform the attempted action.
Available in iOS 3.0 and later.
Declared in
SKError.h.SKErrorPaymentCancelledIndicates that the user cancelled a payment request.
Available in iOS 3.0 and later.
Declared in
SKError.h.SKErrorPaymentInvalidIndicates that one of the payment parameters was not recognized by the Apple App Store.
Available in iOS 3.0 and later.
Declared in
SKError.h.SKErrorPaymentNotAllowedIndicates that the user is not allowed to authorize payments.
Available in iOS 3.0 and later.
Declared in
SKError.h.SKErrorStoreProductNotAvailableIndicates that the requested product is not available in the store.
Available in iOS 6.0 and later.
Declared in
SKError.h.
© 2012 Apple Inc. All Rights Reserved. (Last updated: 2012-09-19)