Called when the reachability of the counterpart session changes.
- iOS 9.0+
- Mac Catalyst 13.0+
- watchOS 2.0+
The session object of the current process. Use the
isproperty of this object to determine the reachability of the counterpart session.
A session is reachable when the iOS app or WatchKit extension to which it belongs is active and running. This method is called to let the current process know that its counterpart session’s reachability changed. Use that information to make decisions about how you want to send information to the counterpart. For example, when the counterpart is reachable, you might send messages immediately rather than post them as an update.