Impossible to determine the CoreSpotlight search query

Originator:bogo.giertler
Number:rdar://22095267 Date Originated:07/31/2015
Status:Open Resolved:
Product:iOS SDK Product Version:iOS 9.0 (13A4305g)
Classification:Enhancement Reproducible:Always
 
Summary:
Core Spotlight should give the application insight into the search query used to trigger the application to allow honing of the list of user-relevant items and context in which to launch the application.

Steps to Reproduce:
1. Search for content indexed by application in CoreSpotlight.
2. Tap the result.
3. Inspect the userInfo dictionary passed in the userActivity in application:continueUserActivity:restorationHandler:.

Expected Results:
The userInfo dictionary contains a string stating the user's search query.

Actual Results:
The userInfo does not contain any information, except for the UID of the tapped search item.

Version:
iOS 9 beta 4

Configuration:
iPhone 6 and iOS Simulator

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!