@Jim Dovey, is there a way to call setNeedsBodyUpdate if you are using a single class as WCSessionDelegate for both iOS and watchOS? I have my session in a WatchSessionManager class, and use a environment object to update the view of my watch, but it wasn't updating. So, I tried to call HostingController().setNeedsBodyUpdate() and i got a EXCBADACCESS crash...code is below, is there a "right" was to do the updating from another class?
				DispatchQueue.main.async {
						#if os(iOS)
						let _ = WatchDataDistribution().messageReceivedByPhone(message: message)
						#elseif os(watchOS)
						let _ = WatchDataDistribution().messageReceivedByWatch(message: message)
						HostingController().setNeedsBodyUpdate()
						#endif
				}
		}
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: