Simple iPhone app for a camera preview without photo or video buttons shows only black screen
I have here the code of an iPhone app for XCode. UIKit and not SwiftUi should be used. The app compiles and runs on the iPhone. The camera sample is green but the image is black.
There might be some typos in the code here, because I had to retype the code.