• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Disappearing content
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

On Tue, Aug 11, 2015 at 2:52 PM, Boris Dušek <email@hidden> wrote:
Hello Richard,

I saw the issue you described, but so far have no idea what would cause it. Just some very random quick suggestions:
- do the UITableViewDataSource methods like cellForRowAtIndexPath get called?
- did you try calling reloadData manually?
- did you try hooking into e.g. drawRect in the table view cell / table view to find whether it is called etc.?
- did you try to override some accessibility methods / properties in the cell view whose implementation might be silently erroring or take very long and thus causing some havoc?
- (just checking) did you add the subviews to the UITableViewCell.contentView, not directly to the UITableViewCell?

I also found the issue is specific to VoiceOver - with Switch Control on (which uses the same accessibility APIs as VoiceOver), the items in the table display fine. Also the issue happens only when VoiceOver is on when the review view modally appears (slides from the bottom). When I launch the Review view without VoiceOver on, the evidence items appear and when I turn VoiceOver on afterwards, the evidence items do not disappear.

Will let you know if some inspiration comes by and whispers in my ear what could be going wrong. Maybe other people here will get inspired sooner in the meantime :-)

Best regards,
Boris

—
Boris Dušek
A11Y LTD.
http://a11y.ltd.uk

On Aug 11, 2015, at 1:42 PM, Richard Groves <email@hidden> wrote:

Hi,

In an iOS app I'm the developer for we've found an area where the content of a page will not show if the page is entered with VoiceOver on - it shows up if VoiceOver is turned on while at that page, but not if it was already on.

The app is called Self Evident and is available (free) here: https://itunes.apple.com/gb/app/self-evident/id571644999?mt=8

The problem page is in the 'Describe' section and the 'Review' page - in normal use it shows a table of 'evidence' entries the user has captured or imported - four items per table row. Each row is a custom subclass of UITableViewCell with 1-4 custom UIView items added. All in a UITableView in a view controller with relatively standard navigation bar (which does show up even with VO on).

VoiceOver support in the released version is poor which is how we've found the odd problem on the table page - I'm currently going through the app to improve the VO support.

It just seems unusual that having VO enabled can alter how a page appears visually, regardless of how well or badly that page supports the accessibility features.

Thanks for any help or ideas anyone can offer - there is a TestFlight beta available with the improving VO support if that would help diagnose the problem.

Richard

--
Richard Groves
Technical Director | NoodlFroot

www.noodlfroot.com

NoodlFroot Limited is a company registered in England and Wales with registration number 07245048.
Registered office: 20-22 Wenlock Road, London, N1 7GU.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Disappearing content (From: Richard Groves <email@hidden>)
 >Re: Disappearing content (From: Boris Dušek <email@hidden>)

  • Prev by Date: Re: Disappearing content
  • Next by Date: Re: Disappearing content
  • Previous by thread: Re: Disappearing content
  • Next by thread: Re: Disappearing content
  • Index(es):
    • Date
    • Thread