UIATableCell.label() doesn't get what Accessibility Inspector does

Originator:bob
Number:rdar://18468220 Date Originated:26 Sep 2014
Status:Open Resolved:
Product:Developer tools Product Version:6.1 beta 2
Classification:Other bug Reproducible:Always
 
Summary:
UITableCell.label() gets "null" where the simulator's Accessibility Inspector gets the cell's contents

I built the repro project from the Single-View template, then replaced the VC w/ a simple derivation of UITableViewController

Steps to Reproduce:
1. Enable the Accessibility Inspector on the iPhone 4s/8.0 simulator
2. Unpack the ZIP
3. Build the app
4. Profile it on the iPhone 4s/8.0 simulator
5. Click on the table cell
6. Run ShowTableCellProperties.js in the Automation instrument

Expected Results:
Both the Accessibility Inspector and Automation log show the table cell's label is "some text, some subtitle"

Actual Results:
AI shows the label is "some text, some subtitle"
Automation log shows the label is "null"

Version:
Xcode 6.1b2 (6A1030)
OS X 10.9.4

Notes:


Configuration:


Attachments:
'TableCellLabels.zip' and 'Screen Shot 2014-09-25 at 7.32.13 PM.png' were successfully uploaded.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!