Stops the current recording.
- iOS 9.0+
- Mac Catalyst 13.0+
- tvOS 10.0+
A block that is called when the request completes.
An instance of the
If an error occurred, this parameter holds an object that explains the error. Otherwise, the value of this parameter is
nil. See Errors for a list of error codes to ReplayKit.
When recording stops with no associated error, present the resulting preview view controller using
present(_:. The user will see the built-in preview view controller with options to trim, cut, and share the recording. On iPad, you must present the preview view controller as a popover.