Adds the service to the specified run loop.
- iOS 2.0+
- macOS 10.2+
- Mac Catalyst 13.0+
- tvOS 9.0+
The run loop to which to add the receiver.
The run loop mode to which to add the receiver. Possible values for
modeare discussed in the "Constants" section of
You can use this method in conjunction with
remove to transfer a service to a different run loop. You should not attempt to run a service on multiple run loops.