init(identifier:hostPid:)
Initializes and registers a remote element.
Declaration
init(identifier: String, hostPid: pid_t)Parameters
- identifier:
A unique ID that creates an element reference pair by connecting an accessibility element to its representation that the local process hosts. Set this parameter to a unique value per pair of element references.
- hostPid:
The process ID of the host’s remote element process.
Discussion
Don’t return an instance of this class from an object in your view hierarchy.