One Logo Pool Ball
StoreKit · IOS API REFERENCE

SKProductStorePromotionController

class · iOS 11.0+ · Deprecated in iOS 18.0 · SDK 27.1

class SKProductStorePromotionController

Members (6)

static · iOS 11.0+ · Deprecated in iOS 18.0

default

TypeScript
static default(): SKProductStorePromotionController
Swift declaration
class func `default`() -> Self
method · iOS 11.0+ · Deprecated in iOS 18.0

fetchStorePromotionOrder

TypeScript
fetchStorePromotionOrder(completionHandler?: (((arg0: Array<SKProduct>, arg1: (NativeError) | null) => void)) | null): void
Swift declaration
func promotionOrder() async throws -> [SKProduct]
method · iOS 11.0+ · Deprecated in iOS 18.0

fetchStorePromotionVisibility

TypeScript
fetchStorePromotionVisibility(product: SKProduct, completionHandler?: (((arg0: SKProductStorePromotionVisibility, arg1: (NativeError) | null) => void)) | null): void
Swift declaration
func promotionVisibility(for product: SKProduct) async throws -> SKProductStorePromotionVisibility
init

init

TypeScript
static init(): SKProductStorePromotionController
Swift declaration
init()
method · iOS 11.0+ · Deprecated in iOS 18.0

update

TypeScript
updateStorePromotionOrderCompletionHandler(promotionOrder: Array<SKProduct>, completionHandler?: (((arg0: (NativeError) | null) => void)) | null): void
Swift declaration
func update(promotionOrder: [SKProduct]) async throws
method · iOS 11.0+ · Deprecated in iOS 18.0

update

TypeScript
updateStorePromotionVisibilityForCompletionHandler(promotionVisibility: SKProductStorePromotionVisibility, product: SKProduct, completionHandler?: (((arg0: (NativeError) | null) => void)) | null): void
Swift declaration
func update(promotionVisibility: SKProductStorePromotionVisibility, for product: SKProduct) async throws

Skipped declarations

No declarations were skipped in this snapshot.

All StoreKit types →