vendredi 8 juillet 2016

UIAccessibility - containers


There's a "containers" rotor setting in voiceover - it allows you to quickly navigate through "high level" sections of the screen (swipe up and down). For example in calendar you have 3 items - navbar , contents, toolbar.

My app uses custom UIView subclasses and no matter what I try to do - all my views seem to belong to a single container - so i can't split them into logical sections. I tried putting them in separate views implementing UIAccessibilityContainer protocol and setting few of the accessibility properties on these parent views.

Does anyone know how to create multiple containers?


Aucun commentaire:

Enregistrer un commentaire