previewController(_:didFinishWithActivityTypes:)
Indicates that the preview view controller is ready to be dismissed with associated activity types.
Declaration
optional func previewController(_ previewController: RPPreviewViewController, didFinishWithActivityTypes activityTypes: Set<String>)Parameters
- previewController:
The preview view controller to be dismissed.
- activityTypes:
A set of activity types as listed in Uiactivity.
Discussion
When the user is finished making changes to a screen recording, your app is responsible for dismissing the view controller representing the user interface. Call dismiss(animated:completion:) after getting the message to dismiss the preview view controller.