AVKit macOS 10.14 to 10.15 API Differences
AVPictureInPictureController.h
Added
AVPictureInPictureController
Added
+[AVPictureInPictureController isPictureInPictureSupported]
Added
AVPictureInPictureController.pictureInPictureButtonStartImage
Added
AVPictureInPictureController.pictureInPictureButtonStopImage
Added
-[AVPictureInPictureController initWithPlayerLayer:]
Added
AVPictureInPictureController.playerLayer
Added
AVPictureInPictureController.delegate
Added
-[AVPictureInPictureController startPictureInPicture]
Added
-[AVPictureInPictureController stopPictureInPicture]
Added
AVPictureInPictureController.pictureInPicturePossible
Added
AVPictureInPictureController.pictureInPictureActive
Added
AVPictureInPictureController.pictureInPictureSuspended
Added
AVPictureInPictureControllerDelegate
Added
-[AVPictureInPictureControllerDelegate pictureInPictureControllerWillStartPictureInPicture:]
Added
-[AVPictureInPictureControllerDelegate pictureInPictureControllerDidStartPictureInPicture:]
Added
-[AVPictureInPictureControllerDelegate pictureInPictureController:failedToStartPictureInPictureWithError:]
Added
-[AVPictureInPictureControllerDelegate pictureInPictureControllerWillStopPictureInPicture:]
Added
-[AVPictureInPictureControllerDelegate pictureInPictureControllerDidStopPictureInPicture:]
Added
-[AVPictureInPictureControllerDelegate pictureInPictureController:restoreUserInterfaceForPictureInPictureStopWithCompletionHandler:]
AVPlayerView.h
Added
AVPlayerView.showsTimecodes
Added
AVPlayerView.allowsPictureInPicturePlayback
Added
AVPlayerView.pictureInPictureDelegate
Added
AVPlayerViewPictureInPictureDelegate
Added
-[AVPlayerViewPictureInPictureDelegate playerViewWillStartPictureInPicture:]
Added
-[AVPlayerViewPictureInPictureDelegate playerViewDidStartPictureInPicture:]
Added
-[AVPlayerViewPictureInPictureDelegate playerView:failedToStartPictureInPictureWithError:]
Added
-[AVPlayerViewPictureInPictureDelegate playerViewWillStopPictureInPicture:]
Added
-[AVPlayerViewPictureInPictureDelegate playerViewDidStopPictureInPicture:]
Added
-[AVPlayerViewPictureInPictureDelegate playerView:restoreUserInterfaceForPictureInPictureStopWithCompletionHandler:]
Added
-[AVPlayerViewPictureInPictureDelegate playerViewShouldAutomaticallyDismissAtPictureInPictureStart:]
Modified
AVPlayerView.player
Declaration
From
@property () AVPlayer *player
To
@property (strong) AVPlayer *player
AVRoutePickerView.h
Added
AVRoutePickerViewButtonState
Added
AVRoutePickerViewButtonStateNormal
Added
AVRoutePickerViewButtonStateNormalHighlighted
Added
AVRoutePickerViewButtonStateActive
Added
AVRoutePickerViewButtonStateActiveHighlighted
Added
AVRoutePickerView
Added
AVRoutePickerView.delegate
Added
-[AVRoutePickerView routePickerButtonColorForState:]
Added
-[AVRoutePickerView setRoutePickerButtonColor:forState:]
Added
AVRoutePickerView.routePickerButtonBordered
Added
AVRoutePickerView.player
Added
AVRoutePickerViewDelegate
Added
-[AVRoutePickerViewDelegate routePickerViewWillBeginPresentingRoutes:]
Added
-[AVRoutePickerViewDelegate routePickerViewDidEndPresentingRoutes:]