An item that uses an image to represent a movie, show, or other content in the top shelf.
- tvOS 13.0+
TVTop object manages basic traits for all items, including the images they display and the actions they trigger. Typically, you create
TVTop objects for your interface. For inset interfaces, you can also create
TVTop objects directly.
After creating an item object, assign an image and one or more actions to it, and update any other relevant properties. Return the item object as part of the content for your interface.
Each unique item in your app must have a correspondingly unique identifier, and the identifier for each item must remain stable throughout the life of your app. Do not assign a different unique identifier for the same underlying item each time you create a
TVTop object for it.