2

I have the following hierarchy of views MainView -> SubViewA -> ChildA,ChildB,ChildC

The logElementTree() is unable to print the subview elements for the View "SubViewA". (All the views have accessibilityLabel)

  • 1
    The SubViewA is serving as a container for other items that should be accessible. Thus Such a view should implement the UIAccessibilityContainer protocol and set this property to NO. UIAccessibility protocol- check isAccessibilityElement – user1168832 Feb 10 '12 at 11:36
  • Possible duplicate of [iOS UI Automation element finds no sub-elements](http://stackoverflow.com/questions/14821713/ios-ui-automation-element-finds-no-sub-elements) – Noyo Mar 28 '16 at 17:37

0 Answers0