I have a class which loads a tableview. In this tableview there are 4 sections with 1 row each. Each section row loads different custom cells. I have disabled the accessibility of the custom cells. But enabled the accessibility for the elements in the cell.
With voice over ON, it reads each cell components correctly first. But after we scroll the table with three finger gesture, first or second cell in my table get focused and voice over does not read the elements inside the cell.
Can any body help me in this issue?
Here is the my code for loading the table with custom cell
-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{ if ([indexPath section] == 1 )
{
static NSString* SettingsTableId = @"HomeAddress";
pHomeAddressCell = (HomeAddress *)[tableView dequeueReusableCellWithIdentifier:SettingsTableId];
if (pHomeAddressCell==nil)
{
NSArray *nib=[[NSBundle mainBundle] loadNibNamed:@"HomeAddress" owner:self options:nil];
pHomeAddressCell=[nib objectAtIndex:0];
}
pHomeAddressCell.delegate = self;
return pHomeAddressCell ;
}}
And in the custom cell "HomeAddress" I have a textview and two buttons.
I have found that this issue is only in devices with iOS below 6