error: property 'accessibilityLabel' not found on object of type 'UITableView *'
error: 1 errors parsing expression
self.tableView.accessibilitylabel = @"label";
self.tableView.isAccessibilityElement = YES;
self.tableView.accessibilitylabel = @"label";
--
You received this message because you are subscribed to the Google Groups "KIF iOS Automated Testing Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kif-framewor...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks, that would be great!
--
--
You received this message because you are subscribed to a topic in the Google Groups "KIF iOS Automated Testing Framework" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kif-framework/mpdSGe3-73E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kif-framewor...@googlegroups.com.
Yes but that is the problem, I can’t figure out how to give it an accessibility label. The methods I’ve seen (see first message) are not working because when I po what the accessibility label is, I get the error "error: property 'accessibilityLabel' not found on object of type 'UITableView *’”This view controller is 100% programatic so it must be done in code.
Any ideas?-Abbey
On Mon, Sep 14, 2015 at 4:09 PM, 'Michael Lupo' via KIF iOS Automated Testing Framework <kif-fr...@googlegroups.com> wrote:
I didn't realize I was replying to the KIF discussion list. Doh!You will need to give the table itself an accessibility identifier.Either in the storyboard or in code.You should also be familiar with NSIndexPath.[tester tapRowAtIndexPath:[NSIndexPath indexPathForRow:1 inSection:2] inTableViewWithAccessibilityIdentifier:@"TableView Tests Table"];
Sent from my iPhonemyTableView