Daniel Hill
07/22/2022, 1:26 AMclass MyView: UIView {
override init(frame: CGRect) {
super.init(frame: frame)
self.accessibilityIdentifier = "my-custom-view"
}
}
Example 2:
val view: UILabel = ...
view.accessibilityIdentifier = "my-custom-view"
Landry Norris
07/26/2022, 6:24 PMUIAccessibilityIdentificationProtocol
in Kotlin, which UIView does not implement by default.Daniel Hill
07/28/2022, 8:24 PM