Gerard Wilkinson Gerard Wilkinson - 1 year ago 90
iOS Question

watchOS2 Paired Property

Does anyone know of any reason why the Watch Connectivity property

wouldn't be working properly?

I thought perhaps this was an early watchOS2 issue but we are at GM now and it still doesn't work.

I have a companion app installed on the watch but this property is always false for me. I have also tried
which also always returns false.

if #available(iOS 9.0, *) {
if WCSession.defaultSession().paired {
print("Watch connected")
} else {
print("No watch")

Thanks in advance for any assistance.

Answer Source

You have to make sure to perform the WCSession set up before reading any of its properties:

if WCSession.isSupported() {
    let session = WCSession.defaultSession()
    session.delegate = self
    if session.paired {
        print("Watch paired")
    } else {
        print("No watch")
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download