I created a project in Xcode 12.0.1 (12A7300) using the Augmented Reality template and SwiftUI.
For some reason, the arView doesn't fill the complete screen, even though I've added .edgesIgnoringSafeArea(.all)
When using Storyboard, the template project does fill the complete screen.
After digging deeper, I noticed that the camera app (1x lens on iPhone 11 Pro Max), shows the same field of view as the SwiftUI AR app. So I believe that the arView is being fit to the camera feed image, instead of filling the screen.
Does anyone know how to let arView fill the screen when using SwiftUI as the interface framework?
For some reason, the arView doesn't fill the complete screen, even though I've added .edgesIgnoringSafeArea(.all)
When using Storyboard, the template project does fill the complete screen.
After digging deeper, I noticed that the camera app (1x lens on iPhone 11 Pro Max), shows the same field of view as the SwiftUI AR app. So I believe that the arView is being fit to the camera feed image, instead of filling the screen.
Does anyone know how to let arView fill the screen when using SwiftUI as the interface framework?