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?
TV Services
RSS for tagHelp users discover your app by providing top shelf content and a description of your tvOS app using TV Services.
Posts under TV Services tag
2 Posts
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Our tvOS app makes use of top shelf Carousel style slides to promote our content.
We would like to detect when tvOS transitions between individual top shelf slides, regardless of whether the slide transition is made by a user (via the Siri remote), or by the system idle auto-transition.
Has anyone achieved this, maybe there are undocumented system hooks or events we can listen to?