I'm not sure if this will help you in this case, but I noticed that you're creating a new snapshot every time an item is read (apart from the DispatchQueue.main.async code block, which is probably why it's working there).
I created a separate update method in my code and it's updating a single section ok. In this "reload" method, try getting the existing snapshot:
private func reloadSnapshot(inSection section: Int) {
var snapshot = dataSource.snapshot()
snapshot.reloadSections([section])
dataSource.apply(snapshot, animatingDifferences: true)
}
Post
Replies
Boosts
Views
Activity
Yeah I’m not sure what the point is of Apple making TVLockupView available if only the subclasses work. Card View isn’t adequate in my case, as I need buttons in the content view.
I’ve tried for hours today to make it work, unfortunately it’s garbage. My fault for not going straight into making my own resizable focus view, which is what I’ll do now. Please Apple just don’t mislead us with your docs, wastes a lot of time!