Instance Method

playerViewControllerForPlayer:

Returns the custom player user interface for a custom player.

Declaration

- (UIViewController *)playerViewControllerForPlayer:(TVPlayer *)player;

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.

See Also

Updating View Information

- viewControllerForElement:existingViewController:

Returns a view controller for a view element.

- viewForElement:existingView:

Returns a view for a view element.

- collectionViewCellClassForElement:

Returns a collection view cell for the specified element.