makeXPCConnection()
Initiates an XPC connection to the app extension’s scene.
Declaration
func makeXPCConnection() throws -> NSXPCConnectionMentioned in
Discussion
Call this method from the hostViewControllerDidActivate(_:) method to initiate a scene-specific connection to the app extension.