Instance Method

setPreviewState:

Sets the preview state.

Declaration

- (void)setPreviewState:(BOOL)inState;

Parameters

inState

A state (YES or NO) that represents whether a preview is visible.

Discussion

Use this method to show and hide the preview programmatically.