UIAAlert.defaultButton() and UIAAlert.closeButton() are UIAElementNil on iOS 8.x
| Originator: | stramer | ||
| Number: | rdar://19753108 | Date Originated: | 06-Feb-2015 04:36 PM |
| Status: | Closed | Resolved: | |
| Product: | Developer Tools | Product Version: | Instruments 6.1 / iOS 8.x |
| Classification: | UI/Usability | Reproducible: | Always |
==== Duplicate of rdar://18017928 ==== Summary: On iOS 8, running Automator scripts which reference UIAAlert.cancelButton() or UIAAlert.defaultButton() always return UIAElementNil. Steps to Reproduce: 1. Open attached project 2. Instrument, iOS 8.x (any simulator/device) 3. 'Automator' tool 4. Import provided 'testscript.js' 5. Run automator script Expected Results: Valid UIAElement objects representing their respective objects are returned for alert.defaultButton() and alert.cancelButton(). Actual Results: UIAElementNil is returned for alert.defaultButton() and alert.cancelButton() as indicated in the log output. Regression: Regression since iOS 8.0. Notes: Works with Instruments 6.1 on iOS 7.1 and earlier. Only iOS 8 is affected.
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!