Contents

stopCapture(handler:)

Stops screen capture

Declaration

func stopCapture(handler: (((any Error)?) -> Void)? = nil)

Parameters

  • handler:

    A block that is called when screen capture has stopped.

    error

    If an error occurred, this parameter holds an object that explains the error. Otherwise, the value of this parameter is nil. See Rprecordingerrorcode for a list of error codes to ReplayKit.

See Also

Controlling App Recording