The most common cause of this is that you have not granted
permission for the app to use the camera on your iOS device.
Alternatively, please see here for relevant documentation from apple: https://support.apple.com/en-gb/guide/iphone/iph168c4bbd5/ios