iOS Location Permission Prompt does not respect CFBundleSpokenName

Originator:connor.neville16
Number:rdar://49733897 Date Originated:
Status:Open Resolved:
Product:iOS SDK Product Version:iOS 12.1.4
Classification:Accessibility Reproducible:Always
 
Summary:
The CFBundleSpokenName Info.plist value is not used when the app name is read aloud within an iOS permissions prompt. Instead the CFBundleDisplayName is used.

Steps to Reproduce:
- Create a new iOS application.
- Set CFBundleDisplayName to "My Display Name" and CFBundleSpokenName to "My Spoken Name" in Info.plist.
- On app launch, request location permission with CLLocationManager().requestAlwaysAuthorization().
- Run the app with VoiceOver enabled.
- The CLLocationManager prompt should appear. Activate the title of the alert with VoiceOver.

Expected Results:
The title should read aloud 'Allow "My Spoken Name" to access your location?`.

Actual Results:
The title reads aloud 'Allow "My Display Name" to access your location?`.

Version/Build:
Xcode version 10.2 (10E125)
iOS version 12.1.4

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!