Re: Disappearing content
Re: Disappearing content
- Subject: Re: Disappearing content
- From: Richard Groves <email@hidden>
- Date: Tue, 11 Aug 2015 16:38:48 +0100
Hi Boris,
In answer to your questions:
1) Yes - cellForRowAtIndexPath is being called the expected amount of times
2) It already does - the view is reloaded at intervals while a background thread is preparing the thumbnails of the items to be shown
3) The drawRect of the Cell class is being called the same number of times when entered with VO on as when off. The drawRect of the sub-item view is not being called at all with VO on, but it called as expected with it off.
4) The accessibilityLabel getter method of the Cell is being called, but not on the sub-view
5) Yep - all subviews added to the Cells contentView
I'm starting to suspect that it is the async content building and hacky 'call reload every 0.5 seconds until we have finished making content thumbnails' as if that is messed around with I have problems with the view in none VO mode (ie content not drawn properly).
NB: I also described the setup slightly wrong initially: the main view is actually a sub-class of UITableViewController rather than a View Controller with table view child in case that makes a difference.
The original codes dates back to 2011 and iOS versions of that era - I'm looking at it and thinking it might be due an update to a UICollectionView which seems more designed for showing rows of items rather than cramming them into a table view - still it would be nice to know what is wrong with the current code that has served well so far!
Richard