WCSessionDelegate

suggest change

Introduction

WCSessionDelegate works with watch OS2 + using WatchConnectivity.

var watchSession : WCSession?

func startWatchSession(){
      
      if(WCSession.isSupported()){
          watchSession = WCSession.default()
          watchSession!.delegate = self
          watchSession!.activate()
      }
  }

Implement the required method:- didReceiveApplicationContext

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents