0 Replies
      Latest reply on Mar 4, 2020 5:18 AM by shaknon
      shaknon Level 1 Level 1 (0 points)

        In my iPhone app, I am storing few integer values in UserDefaults. I am trying to read these values from the watch app, modify the values on the watch, and send the updates to the iPhone app. From what I understood, I need to create a WatchConnectivity session to enable sharing the data. I am trying to find a good tutorial that explains how to do so in SwiftUI (most of the tutorials I found were made for UIKit). I just need one simple example (with full code) that illustrates sharing data between iPhone and Apple watch using SwiftUI. So any help is appreciated. Thanks.