Relative Content

Tag Archive for iosswiftswiftuicameraavfoundation

Camera Feed is not working using AVFoundation

In this code, I aim to enable users to select an image from their phone gallery and display it with less opacity on top of the z-index. The selected image should appear on top of the user’s phone camera feed, allowing them to see the canvas on which they are drawing as well as the low-opacity image. The app’s purpose is to enable users to trace an image on the canvas while simultaneously seeing the camera feed.
I can see the green dot above the network bar so I am sure that the camera is being used but I am just unable to see the results.