Any view shown over the UISearchDisplayController result table view is invisible in UIAutomation
| Originator: | maciekish | ||
| Number: | rdar://18005206 | Date Originated: | 13-Aug-2014 04:59 PM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Version 5.1.1 (5B1008) |
| Classification: | Reproducible: | Always |
Summary: If you show a map view or any other view with search results in front of the UISearchDisplayController and check if it's visible with UIAutomation, the result is false even though the view is in front and can be interacted with. Please see http://s.swic.name/X1Su for a test project and test script in an Instruments trace file. Steps to Reproduce: 1. Add search display controller 2. Add map view 3. Move map subview to front on searchDisplayControllerDidBeginSearch 4. Test if map view is visible in Instruments/UIAutomation Expected Results: target.frontMostApp().mainWindow().mapViews()[0].isVisible() should evaluate to true Actual Results: target.frontMostApp().mainWindow().mapViews()[0].isVisible() evaluates to false
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!