I have a view with the following structure:
GrandView
-Parent View1
-Parent View2
--Child View1
--Child View2
Recursive representations occupy almost all borders Parent View2, but there is still some space around the edges. I can select Parent View2in the simulator using the availability inspector if I click on the edges. I can also click Parent View2in UIAutomation if I use:
tapWithOptions({tapOffset:{x:0.15, y:0.95}});
However, my calls isVisible()always return 0. I expect that if I can click an item or select it with the accessibility inspector, it should return 1.
How does UIAutomation determine if it is visible UIAElement?
source
share