Hello Greg, Thank you so much for your time.
Could you please help me find just the barebones code for the preview? I am a beginner, and I am quite confused. I took a look at this: https://developer.apple.com/documentation/avfoundation/avcam-building-a-camera-app
Using Xcode, I tried to delete the irrelevant code, but I ran into errors.
Thank you so much and have a happy new year.