Instance Method

pictureInPictureController:failedToStartPictureInPictureWithError:

Tells the delegate if Picture in Picture failed to start.

Declaration

- (void)pictureInPictureController:(AVPictureInPictureController *)pictureInPictureController failedToStartPictureInPictureWithError:(NSError *)error;

Parameters

pictureInPictureController

The Picture in Picture controller to which you’ve assigned the delegate.

error

An error describing why Picture in Picture failed to start.

Discussion

A delegate can implement this method to be notified when Picture in Picture failed to start. You can examine the error argument to determine the cause of the failure.

See Also

Responding to Picture in Picture Playback Events

- pictureInPictureControllerWillStartPictureInPicture:

Tells the delegate when Picture in Picture is about to start.

- pictureInPictureControllerDidStartPictureInPicture:

Tells the delegate when Picture in Picture playback has started.

- pictureInPictureControllerWillStopPictureInPicture:

Tells the delegate when Picture in Picture is about to stop.

- pictureInPictureControllerDidStopPictureInPicture:

Tells the delegate when Picture in Picture playback stops.