-
-
Save fitomad/106b330436623dcce7cc8ca2db127fec 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
/** | |
Detenemos la grabación | |
*/ | |
private func stopScreenRecording() -> Void | |
{ | |
RPScreenRecorder.shared().stopRecording() { (previewController: RPPreviewViewController?, error: Error?) -> Void in | |
if let error = error | |
{ | |
print("Error al detener la grabación.") | |
print(error.localizedDescription) | |
} | |
guard let previewController = previewController else | |
{ | |
return | |
} | |
... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment