Protocol

RPPreviewViewControllerDelegate

The protocol you implement to respond to changes to a screen-recording user interface.

Declaration

protocol RPPreviewViewControllerDelegate

Overview

Use this class to respond to changes to a screen-recording user interface, represented by an RPBroadcastActivityViewController object.

Topics

Dismissing the View Controller

func previewControllerDidFinish(RPPreviewViewController)

Indicates that the preview view controller is ready to be dismissed.

func previewController(RPPreviewViewController, didFinishWithActivityTypes: Set<String>)

Indicates that the preview view controller is ready to be dismissed with associated activity types.

Relationships

Inherits From

See Also

Displaying the Preview UI

var mode: RPPreviewViewControllerMode

The type of screen that appears when the view is presented.

enum RPPreviewViewControllerMode

The modes used to determine whether the preview view controller or the share screen appears when editing a replay.