-
playerReadyForDisplay(_:
Default implementation) Tells the delegate that the media player layer is ready to display.
Default Implementation
Declaration
Swift
func playerReadyForDisplay(_ player: MediaPlayer)
Parameters
player
The player object
-
player(_:
Default implementationdidChangePresentationSize: ) Tells the delegate that the presentation size of the current asset has changed.
Default Implementation
Declaration
Swift
func player(_ player: MediaPlayer, didChangePresentationSize size: CGSize)
Parameters
player
The player object
size
The video asset’s size