UICollectionView reload() issue with Focus state got out of sync in tvOS 15.4 and above

In my application I have a ViewController, In that view controller I have two CollectionViews - CollectionViewA and CollectionViewB in vertically format. And basically I have a design like calendar. In CollectionViewA - Displays the informations like, S.No, Image and favourite/unfavourite options. In CollectionViewB - Displays the program informations. So when I click the favourite option I'm reloading the collectionviews so that the collection view will get reload and update the informations in UI for favourite/unfavourite icon appearance. So this is how the functionality works.

Now what happens is, this functionality works properly till tvOS 15.2. When we do the same functionality in 15.3 and above, there is an CollectionView scroll issue (i.e) when I click favourite for the item in row number 10 then after collectionview.reload() it automatically moves to the position from 10 to 5 or 3.

This automatic scroll issue is happening with the below error which is noted in log console.

Collection view focus state got out of sync. Expected (null) to be the current managed subview but found <MyApp.CollectionViewCell: 0x114517ad0; baseClass = UICollectionViewCell; frame = (0 6532; 270 126); opaque = NO; tintColor = UIExtendedGrayColorSpace 0 0; layer = <CALayer: 0x28339ab00>>.

Let me know if anyone can help me out from this issue!!!

Does this still happen with the current beta for tvOS 16? We've made some changes in that area and fixed some bugs surrounding this. If you still reproduce this, it would be greatly appreciated if you could file feedback, attach a sample project that reproduces the issue and then post the feedback ID here.

Thanks for the reply. Actually we tried to update tvOS beta version to 16 but not able to do it. We are able to update only till 15.6. May I know how to update the tvOS beta version to 16?

We have guidelines on how to install the latest betas here: https://developer.apple.com/support/install-beta/

As per your reply, we have updated the tvOS to 16 beta version and tested our application. But still issue occurs on collectionview reload() with the same log. Kindly help us to move further with this issue.

Team, We have checked the same issue with sample project and still the issue exists in tvOS 16. With the attached drive link, we have added the issue video and sample project. Please check and let us know for the further fix as soon as possible. Drive Link: [https://drive.google.com/drive/folders/1rCyUePNzWoGsnrKwk2q11gqWWCYmt8bp?usp=sharing]

@Frameworks Engineer, any update on this issue? @Chandru_Mahalingam, do you have any workaround for this?

UICollectionView reload() issue with Focus state got out of sync in tvOS 15.4 and above
 
 
Q