Contents

accept(connection:)

Accepts incoming XPC connections from the host process.

Declaration

nonisolated func accept(connection: NSXPCConnection) -> Bool

Parameters

  • connection:

    The incoming XPC connection.

Discussion

The framework calls this method. You don’t need to call it in your app extension.