Re: Custom Cells and VO...
Re: Custom Cells and VO...
- Subject: Re: Custom Cells and VO...
- From: Boris DuĊĦek <email@hidden>
- Date: Fri, 27 Jul 2012 20:13:34 +0200
> I just added VoiceOver support to one of my apps. Everything is fine but what I get within a ViewController where I created a dynamic table view with a custom cell.
>
> In this case, with VO enabled, the tableview visually appears empty. Switching VO off, everything works as expected there.
Sounds just like what I experienced a few days ago when testing a storyboard UI
with VoiceOver for the first time. Workaround was to override tableView:cellForRowAtIndexPath:
and use the old way of trying to dequeueReusableCellWithIdentifier: and if
that returns nil, creating the cell yourself. Also I remember deleting the
dynamic prototype cell from the storyboard in Interface Builder.
See a bit more here: http://hsoienterprises.com/2012/02/05/uitableview-dequeuereusablecellwithidentifier-storyboard-and-voiceover-doesnt-work/
I was also able to google one more blog post with the same or similar problem.
Also segues did not really work for cell selection, I had to resort again to
the old way of tableView:didSelectRowAtIndexPath: and there I pushed the next
view controller to the navigation stack after creating the view controller
using UIStoryboard's instantiateViewControllerWithIdentifier: method.
I also commented out the method - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
After that, the UI was functional with storyboard (but after having deleted
the segues and dynamic prototype cells from it).
All this I experienced with iOS 5.1.1 and latest Xcode at that time (4.3.3?).
You can simply try a default new project of "Master-Detail application" with
"Use Storyboards" turned on, and see it does not work with VO on a device.
_______________________________________________
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