CameraView icon indicating copy to clipboard operation
CameraView copied to clipboard

Camera Fill Screen

Open vancerbtw opened this issue 4 years ago • 1 comments

I have tried using edgesIgnoreSafeArea and i have tried setting the CameraView frame to the size of the screen but there are bars above and bellow the camera still. Any idea how to fix this?

vancerbtw avatar Sep 15 '20 07:09 vancerbtw

Try putting it into a VStack like the following: VStack{ CameraView() }.aspectRatio(contentMode: .fill).edgesIgnoringSafeArea(.all)

inafi avatar Nov 22 '20 00:11 inafi