Can the clicking sound of UIDatePicker be disabled?

半腔热情 提交于 2019-12-24 02:10:52

问题


I'm not sure if I am overlooking an obvious setting, but is there a way to disable the clicking of a UIDatePicker when the value of the date picker is changed (by the user of programmatically)?

During my search, I have come across an undocumented method, but that is not what I am planning to adopt.


回答1:


At the time of writing, it seems that the clicks generated by UIPickerView can only be disabled by the user in the global settings of the device. This also disables the keyboard clicks as a result. A similar questions was asked here.



来源:https://stackoverflow.com/questions/9614689/can-the-clicking-sound-of-uidatepicker-be-disabled

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!