Accessibility ID not showing in Accessibility Inspector with iOS Simulator

I wanted to use the Availability Inspector to check all the access identifiers in my application running in the simulator (iOS 9.2).

Accessibility Inspector can return multiple accessibility fields, but not identifiers.

Any idea why and how I could see them?

+5
source share
2 answers

You will never (without changes from Apple) see this property in the Accessibility Inspector, because it is not really used for accessibility. The fact that it is related to accessibility is erroneous due to the general value of the accessibility API for identifying elements for automatic testing using automation of the user interface, because the available information is available for the cross-process. To get this information, you can use the user interface elements for UIAElements and access the name property and pass this to NSLog.

+1
source

I just started using accessibility features recently, but at least with Xcode9.1b2, accessibility identifiers are visible inside the accessibility inspector. See for example:

enter image description here

+2
source

Source: https://habr.com/ru/post/1241216/


All Articles