Why appium not showing the child views with having react native application on iOS

@mykola-mokhnach
@Aleksei

I’m facing trouble in identifying the child hierarchies in the appium. In ios, all chid hierarchies are hidden when I do spy via appium inspector with the React native app. But, in android, I was able to see both the parent and child hierarchy. In appium forums what they mentioned was, changing the accessibility mode as false is the solution to get the child hierarchy in ios. But without disabling the accessibility as false from the dev side, is there any other solution to get it resolved from the appium side?

Thanks in advance.

Most likely because React itself or your app source does not expose these views to the accessibility.

@XCAutomation you can double check with xCode -> Open Developer Tools -> Accessibility Inspector

One more query is, why this kind of problem have a simple solution to change the accessibility as false? It would be helpful, if u explain it briefly.

I’ll check with the xCode accessibility inspector as well.

Thank u for the immediate response. @mykola-mokhnach and @Aleksei

https://developer.apple.com/library/archive/documentation/UserExperience/Conceptual/iPhoneAccessibility/Making_Application_Accessible/Making_Application_Accessible.html