Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
...
// Si el usuario ha activa la cámara recogemos
// la vista con la imagen y la añadimos a la vista.
if let cameraPreviewView = RPScreenRecorder.shared().cameraPreviewView, RPScreenRecorder.shared().isCameraEnabled
{
DispatchQueue.main.async
{
cameraPreviewView.frame = self.viewFrontCamera.bounds
self.viewFrontCamera.addSubview(cameraPreviewView)
}
}
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.