mardi 19 avril 2016

Set up the accessibility for UIDocumentMenuViewController

All I need is to write a UI test that will tap buttons on UIDocumentMenuViewController. But I can't reach these elements from code because they have not any accessibility like UIView has. Is there a possible way to get access to options in UIDocumentMenuViewController and set up the accessibility? Accessibility inspector shows that these elements are not at the appropriate place and traits like static text. How to fix this? accessibility inspector image

Aucun commentaire:

Enregistrer un commentaire