WCSessionDelegate
suggest changeIntroduction
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
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents