You will need to add the following keys to your Info.plist file to request permission from the user:
// 1. Add Video Input guard let videoDevice = AVCaptureDevice.default(.builtInWideAngleCamera, for: .video, position: .front), let videoInput = try? AVCaptureDeviceInput(device: videoDevice), session.canAddInput(videoInput) else { print("Could not add video input") return } session.addInput(videoInput)
You will need to add the following keys to your Info.plist file to request permission from the user:
// 1. Add Video Input guard let videoDevice = AVCaptureDevice.default(.builtInWideAngleCamera, for: .video, position: .front), let videoInput = try? AVCaptureDeviceInput(device: videoDevice), session.canAddInput(videoInput) else { print("Could not add video input") return } session.addInput(videoInput) Tango - Live Video Broadcast IPA Cracked For IO... --FULL