Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
/**
Iniciamos la grabación
*/
private func startScreenRecording() -> Void
{
RPScreenRecorder.shared().startRecording() { (error: Error?) -> Void in
if let error = error
{
print("Error al empezar a grabar la pantalla.")
print(error.localizedDescription)
self.isScreenRecording = false
}
else
{
print("Recording...")
}
}
}
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.