NSUserActivity: don't filter certain, undocumented userInfo keys
| Originator: | futuretap | ||
| Number: | rdar://21488838 | Date Originated: | 22-Jun-2015 08:50 PM |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | 9.0 b1 |
| Classification: | Other Bug | Reproducible: | Not Applicable |
When using NSUserActivity with eligibleForSearch, certain userInfo keys, notably "category" and "categoryID" seem to be filtered. When the user selects such a search result from the system search UI, userActivity.userInfo is an empty dictionary. So the "category" or "categoryID" key was filtered. Other keys, even "categoryId" (with a lower case "d"), work just fine. This unpredictable behavior costed us hours and was a nightmare to debug!
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!