Add a way to programmatically mute UIPickerView click sounds

Originator:armadsen
Number:rdar://25958904 Date Originated:27-Apr-2016 11:11 AM
Status:Open Resolved:
Product:iOS SDK Product Version:9.3.1
Classification:Enhancement Reproducible:Always
 
In some apps, e.g. those that play music, it would make sense to be able to mute UIPickerView's click sounds even if the system preference for keyboard sounds is enabled. Right now, there is no public API to do so, though there is a private method, -setSoundsEnabled: that can be used to disable UIPickerView sounds.

This method could be made public, allowing developers to turn UIPickerView's click sounds off, for example while music is being played by the app.

Alternatively, UIPickerView sounds could automatically be muted when the AVAudioSession category is AVAudioSessionCategoryPlayback, etc.

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!