Buttons in UIView assigned as inputAccessoryView for UITextField invisible to accessibility + UI tests

Originator:john.foulkes
Number:rdar://23936502 Date Originated:17-Dec-2015 10:57 AM
Status:Open Resolved:
Product:Developer Tools Product Version:
Classification: Reproducible:
 
Summary:
When a view is assigned as an inputAccessoryView for a UITextField it is impossible to tap the button using UI testing

Steps to Reproduce:
1. Create a view containing a button and assign it as the inputAccessoryView for a UITextField.
2. Try to tap this button in a UI test

Expected Results:
Button is tapped

Actual Results:
Button is invisible to accessibility/UI testing

Version:
Xcode 7.2

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!