Change order of read items with VoiceOver

后端 未结 8 1184
醉话见心
醉话见心 2020-12-07 17:31

I have a bunch of buttons on the screen which are positioned intuitively visually but are not read in an intuitive order by VoiceOver. This is because certain buttons like U

8条回答
  •  自闭症患者
    2020-12-07 17:46

    In Swift you just have to set view's accessiblityElements array property:

    view.accessibilityElements = [view1, view2, view3] // order you wish to have

提交回复
热议问题