Here is a minimal code
private func createItem(from movie: Movie, showProgress: Bool, imageType: ImageType) -> TVTopShelfSectionedItem {
let item = TVTopShelfSectionedItem(identifier: movie.id)
// Set title for the item
item.title = movie.title
switch imageType {
case .landscape:
item.imageShape = .hdtv // HDTV shape for landscape/backdrop images
if let backdropUrl = movie.backdropUrl, let url = URL(string: backdropUrl) {
item.setImageURL(url, for: .screenScale2x)
}
case .poster:
item.imageShape = .poster // Poster shape for poster images
if let posterUrl = movie.posterUrl, let url = URL(string: posterUrl) {
item.setImageURL(url, for: .screenScale2x)
}
}
if showProgress {
item.playbackProgress = 0.5
}
return item
}
As you can see the progress bar is pushed to the bottom. There is no padding around it. Am I doing something wrong or this is bug in the framework?