One Logo Pool Ball
StoreKit · IOS API REFERENCE

SKStoreProductViewController

class · iOS 6.0+ · SDK 27.1

@MainActor class SKStoreProductViewController

Members (5)

init

init

TypeScript
static init(): Promise<SKStoreProductViewController>
Swift declaration
init()
method · iOS 6.0+

loadProduct

TypeScript
loadProductWithParametersCompletionBlock(parameters: Record<string, unknown>, block?: (((arg0: boolean, arg1: (NativeError) | null) => void)) | null): Promise<void>
Swift declaration
func loadProduct(withParameters parameters: [String : Any]) async throws -> Bool
method · iOS 16.0+

loadProduct

TypeScript
loadProductWithParametersImpressionCompletionBlock(parameters: Record<string, unknown>, impression: SKAdImpression, block?: (((arg0: boolean, arg1: (NativeError) | null) => void)) | null): Promise<void>
Swift declaration
func loadProduct(withParameters parameters: [String : Any], impression: SKAdImpression) async throws -> Bool
get · iOS 6.0+

delegate

TypeScript
get delegate(): Promise<(SDKHandle) | null>
Swift declaration
weak var delegate: (any SKStoreProductViewControllerDelegate)? { get set }
set · iOS 6.0+

delegate

TypeScript
setDelegate(value?: (Implements<SKStoreProductViewControllerDelegate> | SDKHandle) | null): Promise<void>
Swift declaration
weak var delegate: (any SKStoreProductViewControllerDelegate)? { get set }

Skipped declarations

No declarations were skipped in this snapshot.

All StoreKit types →