Contents

makeXPCConnection()

Initiates an XPC connection to the app extension’s scene.

Declaration

func makeXPCConnection() throws -> NSXPCConnection

Mentioned in

Discussion

Call this method from the hostViewControllerDidActivate(_:) method to initiate a scene-specific connection to the app extension.