Posts

Post marked as solved
5 Replies
typo in widget_main.swift     var locationWrapper = LocationWrapper()     public func timeline(with context: Context, completion: @escaping (Timeline<SimpleEntry>) -> ()) {         if locationWrapper.location == nil {             locationManager.location = CLLocationManager()         }         locationWrapper.fetchLocation { location in             // call completion, update ui etc.         } }
Post not yet marked as solved
10 Replies
viewwilldisappear &amp; dealloc where removeoverlay is, r both called on main Qadding overlay asyn, may helpdispatch_async(dispatch_get_main_queue(), ^{
Post not yet marked as solved
10 Replies
I am not able to recreate the crash in-house, @totalidea are you able to recreate the crash on your maps?I just removed the overlays in view will disappear &amp; dealloc. Hopefully that will avoid the crash.Can someone from Apple team shed more light on how to debug these crashes, esp. when we can't recreate the issue, @KevinE ?