Unable to set Accessibility Identifier for UITableView in iOS
<p>Not a big question however I am facing a dilemma. I am implementing some iOS UI Testing and I am unable to set the Accessibility Identifier required for the framework to my UITableView.</p>

<p>That whole section does not seem to be present in the Identity Inspector in interface builder.</p>

<p>Please see screenshot attached.</p>

<p><a href="https://i.stack.imgur.com/E58eo.png" rel="noreferrer"><img src="https://i.stack.imgur.com/E58eo.png" alt="Evil missing Accesibility section."></a></p>

<p>I attempted to do it programatically but it did not work as well.</p>

<p>I set the accessibility identifier as enabled and its value in viewDidLoad()</p>

<pre><code>override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view
        // set delegate and data source
        tableView.delegate = self;
        tableView.dataSource = self;

        // load the table Data
        tableData = ["Red", "Green", "Blue", "White", "Yellow"]

        // set accessibility identifier
        tableView.isAccessibilityElement = true
        tableView.accessibilityIdentifier = "tableView"

    }
</code></pre>

<p>It is just a sample app where I am testing the actual framework.</p>

<p>Any help is welcome.</p>

<p>I am using XCode 7.3.1</p>