Re: UITableView + UISearchController(searchResultsController: nil) does not work with VoiceOver
Re: UITableView + UISearchController(searchResultsController: nil) does not work with VoiceOver
- Subject: Re: UITableView + UISearchController(searchResultsController: nil) does not work with VoiceOver
- From: Boris Dušek <email@hidden>
- Date: Sun, 07 Feb 2016 12:19:40 +0100
Thanks Chris very much for your response,
I will report a bug (and post here the rdar number) number, and also try the workaround tip suggested by you and report the result.
I have since made a minimal (code-only, no storyboards or XIBs, only AppDelegate.swift and ResultsVC.swift code files) repro app on which I will try the workaround (and post it with the rdar too).
Kind regards, Boris
1. is this a bug (I will report a rdar in such case)? or am I doing something wrong?
Yes this sounds like a bug. Please do file a report 2. In case it is a bug: Is there a workaround other than using a separate non-nil searchResultsController (e.g. I tried setting accessibilityElementsHidden=false on the original vc’s view, but to no avail).
Another thought occurred to me that perhaps you can implement accessibilityElements on a parent view and return either the view from the search controller or the view from the table view depending on which is active. Might work and shouldn’t be too hard (although if you have story boards everywhere, that might not be true)
|
_______________________________________________
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