I'm trying to set UIView's accessibilityIdentifier property, but it's not recognized by the Kotlin native compiler for either example 1 or 2 below. Any help in how I might set the accessibilityIdentifier property via Kotlin would help me greatly. I'm happy to add custom OBJ-C bindings, but I would appreciate help being pointed to a tutorial to learn how to do so.
Any help would be very appreciated.
Example 1: