-
-
Save fitomad/8503f7da895c5a1bc36f565d2185f957 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
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