Called when a feature is enabled or disabled.
- iOS 9.0+
- Mac Catalyst 13.0+
The session object whose state changed.
The session object calls this method when the value in the
watch 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.