Hi,
I have an iOS shopping list app, where items are added and displayed in a tableView. I want to create a Watch App Extension but I’m debating on what type of communication I need to use, the updateApplicationContext () methodor the sendMessage() method. I was reading the documentation but I’m a little confused since both seem to work.
Here is the functionality I’m expecting to have…
What I want is to be able to add items in the iOS app even if the Watch app is Off, which is normal behavior, BUT I want the Watch app to update with whatever is in the tableView (in iOS) as soon as it is turned on and even if the iPhone is not On at the time the Watch is turned on.
In other words, I want the data in the iOS app to always be in sync with the Watch app.
What is the best communication to use in this case, the
updateApplicationContext(_:)
method or the sendMessage(_:replyHandler:errorHandler:)
method?Thanks