IVSImagePreviewView

Objective-C

@interface IVSImagePreviewView : UIView

Swift

class IVSImagePreviewView : UIView

A view that will auto update its contents with a live preview of either an IVSImageDevice, or the composited output image of the broadcast session.

  • Set the preview mirroring state. For front cameras the default is on, for everything else the default is off.

    Declaration

    Objective-C

    - (void)setMirrored:(BOOL)mirrored;

    Swift

    func setMirrored(_ mirrored: Bool)

    Parameters

    mirrored

    Should the image in the preview be horizontally mirrored?