Search code examples
apple-watchnsurlrequestwatchconnectivity

Connecting to external URL from WatchKit 2.0


I would like to load some information in the WatchKit interface from a REST backoffice. Is there some fast way to execute a URL request passing by the host iOS app or I must concoct a specific protocol taking advantage of the bare WatchConnectivity functionalities?


Solution

  • I am using sendMessageData:replyHandler:, yet I have problems in having it properly working. The relative ticket is at: https://stackoverflow.com/questions/33211760/sendmessagedata-does-not-call-didreceivemessagedata-on-the-counterpart