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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software