WATCHConnectivity Framework Flashcards
1
Q
WatchConnectivity Framework
A
WatchConnectivity Framework allows our watch applications to communicate data back and forth between our iOS apps and the watch.
WatchConnectivity Framework is centered around a single class called WCSession.
WCSession also has a WCSessionDelegate that we can use to respond to messages sent between the platforms.
2
Q
wcsession
A
WCSession has a defaultSession singleton that we call methods on.
A WCSession must be activated before you can start communications back and forth between the watch and iOS.
The primary method we use to execute sending a message to the corresponding platform is sendMessage:replyHandler:errorHandler:.