Contents

customInfoViewControllers

An array of view controllers to display as content tabs in the player user interface.

Declaration

var customInfoViewControllers: [UIViewController] { get set }

Mentioned in

Discussion

The system uses a view controller’s title property value as the content tab title. Set this property value before adding it to the array so that the title renders correctly in the player’s user interface.

Similarly, set a preferredContentSize value on the custom view controllers, or define appropriate auto layout constraints on their views, so the system sizes them correctly in the player user interface.

See Also

Customizing the tvOS player UI