Tag iOS Views

Prev Next

Why should you tag iOS views?

Whatfix Mobile identifies the screen of native apps uniquely with the accessibility Identifier property of an element. Adding this property helps in identifying the element and hence the screen more accurately.

Add Accessibility Identifier to a view

Info:

Set accessibility Identifier to make it uniquely identifiable on the current screen.

Swift

 view.accessibilityIdentifier = "cart_button" // unique identifier forthe view

Objective C

view.accessibilityIdentifier = @"cart_button";

Privacy Policy | Whatfix Glossary | Whatfix Platform Status
Copyright © 2024 WHATFIX TM. All rights reserved.