iOS Developer Library

Developer

StoreKit Framework Reference SKProductsRequestDelegate Protocol Reference

Options
Deployment Target:

On This Page
Language:

SKProductsRequestDelegate

Inheritance


Not Applicable

Conforms To


Import Statement


Swift

import StoreKit

Objective-C

@import StoreKit;

Availability


Available in iOS 3.0 and later.

The SKProductsRequestDelegate protocol declares methods that are implemented by the delegate of an SKProductsRequest object. The delegate receives the product information that the request was interested in.

  • Called when the Apple App Store responds to the product request. (required)

    Declaration

    Swift

    func productsRequest(_ request: SKProductsRequest!, didReceiveResponse response: SKProductsResponse!)

    Objective-C

    - (void)productsRequest:(SKProductsRequest *)request didReceiveResponse:(SKProductsResponse *)response

    Parameters

    request

    The product request sent to the Apple App Store.

    response

    Detailed information about the list of products.

    Import Statement

    Objective-C

    @import StoreKit;

    Swift

    import StoreKit

    Availability

    Available in iOS 3.0 and later.