How do i run my code?

Hey, I was wondering if you could help me with running my code. I do have the code written down that allows you to view your work and see how it would look on a phone but I minimized that part of the screen and am not so sure on how to get it back.

@dj1

It’s not clear what you are referring to.

Can you post a screen shot of your Xcode window showing the code that you are having trouble with.

sorry, I mean I do have the code for the preview provider so that I can run the code but it isn’t on the screen if you know what I mean. It shows up on the right side of the screen but I minimized it and don’t know how to get it back now. I think the word I’m looking for is the preview.

OK tap on the icon as indicated by the red arrow in the attached screenshot. From the drop down that appears, select Canvas.