stop voice over from saying the automatic hint for UIAccessibilityTrait adjustable (swift)

☆樱花仙子☆ 提交于 2021-01-27 20:09:38

问题


When having an element on screen that has the UIAccessibilityTrait .adjustable, Voice Over reads out the automatic hint provided by iOS, saying "swipe up or down with one finger to adjust the value".

How do I stop iOS from saying that hint? I want voice over to only read my own accessibility hint.


回答1:


How do I stop iOS from saying that hint?

When you use an accessibility element whose trait is .adjustable, the system will automatically read out its hint and it's not possible to remove only this one and let yours spoken as you wish.

However, the user can specify to stop listening to ALL hints in his settings (iOS 12: Settings - General - Accessibility - VoiceOver - Verbosity - Speak Hints):

When you deal with the system hint, it's all or nothing unfortunately.



来源:https://stackoverflow.com/questions/56660741/stop-voice-over-from-saying-the-automatic-hint-for-uiaccessibilitytrait-adjustab

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