accept(connection:)
Accepts incoming XPC connections from the host process.
Declaration
nonisolated func accept(connection: NSXPCConnection) -> BoolParameters
- connection:
The incoming XPC connection.
Discussion
The framework calls this method. You don’t need to call it in your app extension.