Instance Property

isComplicationEnabled

A Boolean value indicating whether the Watch app’s complication is in use on the currently paired and active Apple Watch.

Declaration

var isComplicationEnabled: Bool { get }

Discussion

The value of this property is true when the app’s complication is installed on the active clock face. When the value of this property is false, calls to the transferCurrentComplicationUserInfo(_:) method fail immediately.

The value in this property is valid only for a configured session that has been activated successfully. If the activationState property is available, its value must be WCSessionActivationState.activated. When the session becomes inactive or deactivated, you should ignore the value in this property.

See Also

Getting the Paired Device Information

var isPaired: Bool

A Boolean indicating whether the current iPhone is paired to an Apple Watch.

var iOSDeviceNeedsUnlockAfterRebootForReachability: Bool

A Boolean value indicating whether the paired iPhone must be unlocked to become reachable.

var isWatchAppInstalled: Bool

A Boolean value indicating whether the Watch app is installed on the currently paired and active Apple Watch.

var watchDirectoryURL: URL?

A directory for storing information specific to the currently paired and active Apple Watch.