-
-
Save fitomad/c6c1c5d354ee05ff46652cfd0465f3b6 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
// | |
// MARK: - RPPreviewViewControllerDelegate Protocol | |
// | |
extension RecorderViewController: RPPreviewViewControllerDelegate | |
{ | |
/** | |
El usuario ha terminado con la vista de edición de | |
la grabación | |
*/ | |
func previewControllerDidFinish(_ previewController: RPPreviewViewController) -> Void | |
{ | |
previewController.dismiss(animated: true, completion: nil) | |
} | |
/** | |
El usuario ha terminado con la vista de edición de | |
la grabación. | |
Podemos ver los activity types. | |
*/ | |
func previewController(_ previewController: RPPreviewViewController, didFinishWithActivityTypes activityTypes: Set<String>) -> Void | |
{ | |
activityTypes.forEach({ (activityType: String) -> Void in | |
print(activityType) | |
}) | |
previewController.dismiss(animated: true, completion: nil) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment