I have an app, that is a container app for a Share App Extension and an XPC Service. The XPC Service creates a NSUserNotification
and delivers it to the NSUserNotificationCenter
.
If I connect to the XPC Service from within the container app, I can make calls to it successfully.
If I attempt to connect to the XPC Service from within the extension, it does nothing.
My goal with this is to display a user notification after the share extension completes. Share extensions can't create user notifications themselves, but I can't seem to get the XPC calls to work either.