UIAccessibility change UITableView voiceover announcements (row # of #)

accessibility, ios, tableview, uiaccessibility, voiceover

Solution

Use UIScrollViewAccessibilityDelegate and implement the method -accessibilityScrollStatusForScrollView:

Example

- (NSString *)accessibilityScrollStatusForScrollView:(UIScrollView *)scrollView
{
    return @"Your text";
}

Problem

With VoiceOver enabled a user can use a 3 finger swipe gesture to scroll TableViews. VoiceOver verbally announces to the user a phrase indicating their location on the tableview i.e. the rows that are visible such as "Rows 1 to 4 of 5". I would like to override this verbal prompt and get voiceover to announce something else to the user.

Original source