> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rampkit.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Preview mode

> Preview flows during development on iOS

## Preview mode

Use preview mode to load draft flows on your device or simulator.

```swift theme={null}
import RampKit
RampKit.enableDebug(previewMode: true)
```

Then, in the RampKit dashboard:

* Select a draft flow
* Click “Preview on device”
* Scan the QR code or copy the session code

Your device or simulator will pull the latest draft content without publishing.
