Phone is dialled automatically when selecting it from a 3rd party Spotlight item

Originator:mabdala
Number:rdar://22659810 Date Originated:9/11/2015
Status:Open Resolved:
Product:iOS Product Version:9.0
Classification:Ui/Usability Reproducible:Always
 
Summary:
This works differently for Contact.app's items.

When the user taps on the phone button, if the item has multiple, an action sheet will appear allowing the user to select between home/work/mobile/other/etc.

This should be replicated for 3rd party spotlight items, otherwise, people won't be able to select which phone to dial.

Steps to Reproduce:
1. Find a 3rd party spotlight item with multiple phone numbers loaded in CSSearchableItemAttributeSet.phoneNumbers.
2. Tap the phone button.

Expected Results:
3. An action sheet appears with each phone number and it's type
4. User select the appropriate phone number
5. The number is dialled

Actual Results:
3. The first number supplied in CSSearchableItemAttributeSet.phoneNumbers is directly dialled.

Version:
iOS 9b5

Notes:
The API will probably have to be modified into accepting
var phoneTypes: Array[String]?

Configuration:
iPhone 6

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!