How can I make a UITableView with big header VoiceOver compatible?

My app has a table view with a large, blank tableHeaderView allowing to scroll the visible cells completely out of the window (to the bottom). So a contentOffset of {0,0} means, the content is scrolled out of the window. The initial contentOffset is {0,{height of tableView}}.

This all works fine but I'm having a hard problem to enable accessibility for it.

The user steps through the elements, starting with the navigation bar and its bar buttons. As soon as she swipes again to activate the first cell of the table view, the table view automatically scrolls to {0,0}. However, since the first cell isn't visible at this contentOffset, it fails to focus on it and keeps the focus on the last selected element.

Can I somehow prevent this or control the contentOffset in VO mode manually?

I created a demo project showing my problem.


If there is no accessible content in the empty header, consider setting the content offset programmatically upon load in the event that UIAccessibilityIsVoiceOverRunning(). You will also want to monitor for UIAccessibilityVoiceOverStatusChanged and do the same.

Need Your Help

How do I loop through a list of stock tickers in Matlab?

list matlab loops for-loop stocks

This is the current code I'm attempting to use in order to loop through a "list" of tickers to load the corresponding file. However, Matlab doesn't seem to like to accept separate strings. I'm not ...

Connecting to teradata from ubuntu 14.04

odbc ubuntu-14.04 teradata pyodbc

After following the instructions from, installed version of teradata odbc version.