skip to Main Content

I am working on an app in SwiftUI in Xcode 12.2.

I have accidentally deleted the Automatic Preview Tab. I cannot seem to find the option to bring it back. Here is a screenshot of my Xcode:

My XCode without the automatic preview

Where do I enable the Automatic preview and bring it back so I can see real-time updates of my UI?

2

Answers


  1. In your Xcode snapshot, there is a button the top right corner with a bunch of horizontal lines. Click it and then click Canvas and the preview should come back. FYI, the preview canvas is different than a Storyboard, which is what you included in the "What I want" image.

    Login or Signup to reply.
  2. An easy way to find it is from the menu "Editor > Canvas"

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search