Setting accessibility identifier programmatically on UIBarButtonItem

Viewed 29829

The accessibility identifier is a developer generated ID for GUI objects, which can be used for automation tests.

A UIBarButtonItem does not implement UIAccessibilityIdentification. However is there a possibility that I can assign an accessibility identifier?

4 Answers
Related