The Live Preview Canvas
Use Xcode previews to see UI changes instantly.
Meet the Canvas
Beside your code, Xcode shows a canvas that renders your view live. You see your UI without ever building and launching the full app. 👀
Show or Hide It
If the canvas is missing, open the Editor menu and turn on Canvas. It appears on the right, next to your Swift code.