AVPictureInPictureController(IVSImagePreviewView)
@interface AVPictureInPictureController (IVSImagePreviewView)
Extends AVPictureInPictureController
with IVSImagePreviewView
support.
-
Create an instance of
AVPictureInPictureController
with anIVSImagePreviewView
instance.Note
this is designed for remote Stage participants. Using this on the local camera’s preview will not work once in the background. Special camera permissions and a different PiP controller are required for that.Declaration
Objective-C
- (nullable instancetype)initWithIVSImagePreviewView: (nonnull IVSImagePreviewView *)previewView;
Swift
convenience init?(ivsImagePreviewView previewView: IVSImagePreviewView)
Parameters
previewView
The
IVSImagePreviewView
instance used for playback.