Live Preview
See your app running — right inside Archon.
Live Preview
See your app running in a WKWebView. Go full screen to test the experience before you share it.
WKWebView rendering
The Live Preview uses Apple's WKWebView to render your app's HTML, CSS, and JavaScript output. This is the same rendering engine used by Safari, so what you see in the preview is accurate to how it would look in a browser.
- Full CSS support — flexbox, grid, animations, custom properties
- JavaScript execution — event handlers, fetch requests, DOM manipulation
- Responsive layouts — previews scale to match device dimensions
- Local assets — images and fonts bundled with the project are available
Full-screen mode
Tap the full-screen button to expand the preview to fill the entire screen. This is useful for testing how your app looks and feels without the surrounding chrome of the Archon interface.
- Portrait and landscape — rotate the device to test responsive behavior
- Safe area awareness — the preview respects notch and home indicator insets
- Status bar styling — matches the
theme-colormeta tag if set
How preview updates after builds
When the AI Builder completes a build, the Live Preview automatically refreshes. The flow is:
For iterative builds (adding a feature, fixing a bug), only the changed files are updated and the preview does a targeted reload rather than a full page refresh.
Limitations
The Live Preview is a development tool, not a production environment. Some things to be aware of:
For full native testing, export your project and open it in Xcode.