Contents

TVTopShelfAction

An action to perform in response to user interactions with an item in the top shelf.

Declaration

class TVTopShelfAction

Overview

A TVTopShelfAction object contains the URL that you want tvOS to open when the user selects an item in the top shelf. Use actions to specify the location of playable content or pages containing additional information.

When configuring a TVTopShelfItem to display in a carousel interface, the system chooses a title and image for each button on the item based on whether you assigned the action object to the playAction or displayAction property of your item.

Topics

Creating an Action Object

Getting the URL

Initializers

See Also

Common types