Asynchronously returns the service’s connection object.
- iOS 11.0+
- macOS 10.13+
- Mac Catalyst 13.0+
A block that is called on an anonymous background queue. The system passes this block the following parameters:
NSXPCConnectionobject for the service, or
nilif an error occurs.
If an error occurs, this property contains an object that describes the error; otherwise, it is set to