Instance Property

previewControllerDelegate

The preview view controller’s delegate.

Declaration

weak var previewControllerDelegate: RPPreviewViewControllerDelegate? { get set }

Discussion

Before displaying the preview view controller, your app must set a delegate in order to respond to changes in the view controller. Implement the methods described in RPPreviewViewControllerDelegate.

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.

protocol RPPreviewViewControllerDelegate

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