can I set accessibility identifier in interface builder? Xcode4.2

后端 未结 5 1639
孤街浪徒
孤街浪徒 2020-12-09 08:31

I can only set Accessibility Label in interface builder, but in UI Automation,I need Accessibility Identifier to get the UI elements. any way to do this?

5条回答
  •  Happy的楠姐
    2020-12-09 09:04

    accessibilityIdentifier Only applicable for IOS 5.0 or Later....please Refer....

    https://developer.apple.com/library/ios/documentation/uikit/reference/UIAccessibilityIdentification_Protocol/Introduction/Introduction.html

提交回复
热议问题