---
title: StoreKitError.invalidPresentationContext
framework: storekit
role: symbol
role_heading: Case
path: storekit/storekiterror/invalidpresentationcontext
---

# StoreKitError.invalidPresentationContext

StoreKit UI cannot be presented from the current context.

## Declaration

```swift
case invalidPresentationContext
```
