Starts processing of incoming requests.
- iOS 11.0+
- macOS 10.8+
- Mac Catalyst 13.0+
- tvOS 11.0+
- watchOS 4.0+
All listeners start suspended and must be resumed before they begin processing incoming requests.
If called on the
service() object, this method never returns. Therefore, you should call it as the last step inside the XPC service's
main function after setting up any desired initial state and configuring the listener itself.
If called on any other
NSXPCListener, the connection is resumed, and the method returns immediately.