I'm using SwiftUI to make my an Apple Watch Companion app for my iOS application. I call my view using ,
When I receive message data from watch connectivity how can I call the ContentView to reload the view?
(Content view is my swiftUI view and appData is an array of data passed to it)
Code Block override var body: ContentView { return ContentView(data: appData) }
When I receive message data from watch connectivity how can I call the ContentView to reload the view?
(Content view is my swiftUI view and appData is an array of data passed to it)