CoreSpotlight: Provide a verbose mode for Spotlight for easier debugging
| Originator: | nicolas.bouilleaud | ||
| Number: | rdar://22029722 | Date Originated: | 2015-07-28 |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | 9.0 (13A4305g) |
| Classification: | Enhancement | Reproducible: | n/a |
The behavior of Spotlight on iOS (including on the simulator) is quite opaque. When setting up CoreSpotlight in an app, it makes it hard to guess why a specific item shows up or not. There should be a way to trace what Spotlight is up to. Steps to Reproduce: * Run an app with CSSearchableItems in the Simulator * Switch to spotlight and tap a test search Expected Results: Debug information, explaining why items were included or not. Actual Results: Magical UI, containing the expected items, or maybe not. But to find out why, our only method is to try and err. Version: Xcode Version 7.0 beta 4 (7A165t) Notes: Additionally, I should say that the CSSearchableItemAttributeSet documentation lacks some details. I filed radar 22029715 on this documentation issue.
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!