SKProductsRequest Class Reference

Inherits from
Conforms to
Framework
/System/Library/Frameworks/StoreKit.framework
Availability
Available in iOS 3.0 and later.
Companion guide
Declared in
SKProductsRequest.h

Overview

An SKProductsRequest object is used to retrieve localized information about a list of products from the Apple App Store. Your application uses this request to present localized prices and other information to the user without having to maintain that list itself.

To use an SKProductsRequest object, you initialize it with a list of product identifier strings, attach a delegate, and then call the request’s start method. When the request completes, your delegate receives an SKProductsResponse object.

Tasks

Initializing a Products Request

Setting the Delegate

Properties

delegate

The delegate for the request.

@property(nonatomic, assign) id<SKProductsRequestDelegate> delegate
Availability
  • Available in iOS 3.0 and later.
Declared In
SKProductsRequest.h

Instance Methods

initWithProductIdentifiers:

Initializes the request with the set of product identifiers.

- (id)initWithProductIdentifiers:(NSSet *)productIdentifiers
Parameters
productIdentifiers

The list of product identifiers for the products you wish to retrieve descriptions of.

Return Value

The initialized request object.

Availability
  • Available in iOS 3.0 and later.
Declared In
SKProductsRequest.h