VLCPlaybackInfoTracksTVViewController reports incorrect preferredContentSize
false, its parent assumes
VLCPlaybackInfoTracksTVViewController to be the first controller to be shown, but it reports an invalid
During debug, I noticed both
subtitleTrackCollectionView were reporting their
contentSize.height to be zero, even though
reloadData is called for both of them by
I was able to mitigate the problem by also calling
prepareLayout on each of the aforementioned collection view's
collectionViewLayout, and finally calling
layoutIfNeeded on the view's themselves.
Although it worked, I'm not sure whether this is the right course of action to address this, given I've already tried any common means to force those views to report their content size when
preferredContentSize is called.
It may important to notice that
VLCPlaybackInfoChaptersTVViewController uses basically the same methods as
ChaptersTVViewController, but I didn't try to reproduce the issue with a video file with chapters. Will try to do it asap.