playerViewController(for:)
Returns the custom player user interface for a custom player.
Declaration
optional func playerViewController(for player: TVPlayer) -> UIViewController?Parameters
- player:
The player requesting a view controller.
Return Value
The new view controller associated with the view element. If the app doesn’t handle this event, you must return nil.