Adding "CustomInfoViewControllers"

Hello everyone,

I'm trying to add one or more Custom info view controllers in my tvOS player. I created a new UIViewController class, I connected it to my Storyboard scene, in which inside is present a Collection view.

Inside the native player I'm calling:

playerController.customInfoViewControllers = [LocalChannelListController()]

Inside the player I can see now the new tab with the title that I assigned in my LocalChannelListController, but the content is empty.

Is there something else that I need to do in order to display the content of that controller?

[EDIT] Looks like I can't use Storyboard in order to create my custom UIKit interface. So creating programmatically the content with collection view, it will work properly.

  • would be nice if you provided some code so we could see what's the problem

Add a Comment