---
title: "sessionWatchStateDidChange(_:)"
framework: watchconnectivity
role: symbol
role_heading: Instance Method
path: "watchconnectivity/wcsessiondelegate/sessionwatchstatedidchange(_:)"
---

# sessionWatchStateDidChange(_:)

Indicates a change to the counterpart’s information.

## Declaration

```swift
optional func sessionWatchStateDidChange(_ session: WCSession)
```

## Parameters

- `session`: The session object whose state changed.

## Discussion

Discussion The session object calls this method when the value in the isPaired, isWatchAppInstalled, isComplicationEnabled, or watchDirectoryURL properties of the WCSession object changes. Use this state to update the state of your iOS app. For example, when the complication is disabled, make a note of that fact and do not send any more data updates for the complication.

## See Also

### Managing State Changes

- [sessionReachabilityDidChange(_:)](watchconnectivity/wcsessiondelegate/sessionreachabilitydidchange(_:).md)
- [sessionCompanionAppInstalledDidChange(_:)](watchconnectivity/wcsessiondelegate/sessioncompanionappinstalleddidchange(_:).md)
