A focusable view that presents main content, like a movie poster, and an optional header and footer.
- tvOS 12.0+
TVLockup object consists of three views that operate as a single view. The content view typically contains a media item image, like a movie poster, with additional information contained in the header and footer views. The
TVLockup object expands when it comes into focus. It uses
content to calculate the size increase. Provide sufficient
focus values so that your custom content does not overlap other objects when the content comes into focus.
The following figure shows a
TVLockup object that is in focus. The yellow, vertical lines indicate the space between views. The center view is in focus and has increased in size, expanding into the space between views. Views do not move as other views come into focus.