Closed colinmbr closed 2 years ago
I resolved this issue by doing the following:
In the left pane (project navigator) select [project name] > General > Deployment Info > Main Interface was automatically set to blank, I changed it to LaunchScreen.storyboard.
Also, don't forget to provide a width and height for the scanner.
After successfully building and launching on my physical device, the app asks for camera permissions and iOS shows that the camera is being used, however a black screen is displayed with nothing else.
In closed issues someone else had a similar issue, fixed by adding NSCameraUsageDescription to their Info.plist which I already have (along with an associated string).
Any thoughts are appreciated.