Post not yet marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
contentPostList.repliesup-voted.tooltip
As for as I can tell @ObservableObject still does not work in iOS 13 beta 8 using XCode 11 beta 6.Here is what worked for me:1. I changed@ObservedObject var location: MYLocationManager = MYLocationManager()to:@EnvironmentObject var location: MYLocationManager2. In the SceneDelegate I added:let myLocationManager = MYLocationManager()and:window.rootViewController = UIHostingController(rootView: CoreLocationView_NeedsEnv() .environmentObject(myLocationManager)No more crash!!I know this is not a solution for @ObservableObject, but it is a workaround until Apple get's it figured out. Thanks to Fabian and greycampbell on SO!