Unable to implement UISlider for Accessibility option in iPad

梦想与她 提交于 2019-12-11 05:23:32

问题


i am trying to implement accessibility option in my book reader app. I have a slider(similar to ibooks) which is used for navigating between pages. i have seen this question posted by another user and implemented the same code in my app. Right now my slider is responding when i'm tapping on it. The voiceover is also speaking the label i have given in the code. But, the problem is that, i am unable to change the slider value and navigate to another page.. I dont know if it is the problem with my code or is it that i do not know how to replicate the gesture to change the value of the slider... Any help in this regard will be appreciated.... Thanku


回答1:


Does the slider work with VoiceOver turned off?

If so, try swiping vertically up or down (top to bottom of display) after selecting the slider element with VoiceOver enabled.




回答2:


Is it a UISlider, or something of your own devising? UISlider needs an actual vertical swipe once selected, and moves a pretty significant amount as a result — not a good experience for going to the next page.

If it's your own custom control, be sure you set UIAccessibilityTraitAdjustable.



来源:https://stackoverflow.com/questions/6059108/unable-to-implement-uislider-for-accessibility-option-in-ipad

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