stopPictureInPicture()
Stops Picture in Picture, if active.
Declaration
func stopPictureInPicture()Discussion
Regardless of how Picture in Picture stops, the controller calls the delegate’s pictureInPictureControllerWillStopPictureInPicture(_:) method. When the PiP animation completes, the controller finalizes the session by calling the delegate’s pictureInPictureControllerDidStopPictureInPicture(_:) method.