So, I've been working with a top shelf carrousel full screen example, but the details are never showed. Not even on the provided example from session 211.
This is what I'm doing to construct the TVTopShelfCarouselItem
And on the loadTopShelfContent I'm doing this:
Has anyone being through that and knows how to solve it?
This is what I'm doing to construct the TVTopShelfCarouselItem
Code Block swift public func createCarrouselItens() -> TVTopShelfCarouselItem { let item = TVTopShelfCarouselItem(identifier: movie.identifier) item.contextTitle = NSLocalizedString("Featured Movie", comment: "The context title for a movie item.") item.title = movie.title item.summary = movie.summary item.genre = movie.genre item.duration = movie.duration item.creationDate = movie.releaseDate item.previewVideoURL = movie.previewVideoURL item.mediaOptions = [.videoResolution4K] item.namedAttributes = makeCarouselNamedAttributes() item.setImageURL(movie.imageURL(withScale: 1), for: .screenScale1x) item.setImageURL(movie.imageURL(withScale: 2), for: .screenScale2x) setupAction(for: item) return item }
And on the loadTopShelfContent I'm doing this:
Code Block swift let itens = Movie.mockedMovies().map { ContentBuilder(movie: $0).createCarrouselItens() } let content = TVTopShelfCarouselContent(style: .details, items: itens)
Has anyone being through that and knows how to solve it?